Skip to content

Commit

Permalink
refactor: Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
enrique-lozano committed Jan 9, 2025
1 parent d01b59a commit 3f3d88f
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions lib/core/presentation/widgets/monekin_dropdown_select.dart
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
import 'package:flutter/material.dart';

class MonekinDropdownSelect<T> extends StatefulWidget {
const MonekinDropdownSelect(
{super.key,
required this.initial,
required this.items,
required this.onChanged,
this.backgroundColor,
this.compact = false,
this.checkInitialValue = false,
this.getLabel,
this.isDisabled,
this.enabled = true,
this.expanded = false,
this.textConstraints = const BoxConstraints()});
const MonekinDropdownSelect({
super.key,
required this.initial,
required this.items,
required this.onChanged,
this.backgroundColor,
this.compact = false,
this.checkInitialValue = false,
this.getLabel,
this.isDisabled,
this.enabled = true,
this.expanded = false,
this.textConstraints = const BoxConstraints(),
});

final T initial;
final List<T> items;
Expand Down

0 comments on commit 3f3d88f

Please sign in to comment.