SingleSelectionDropdownView<ITEM> constructor
SingleSelectionDropdownView<ITEM> ({
- Key? key,
- required List<
ITEM> options, - required String getTitle(
- ITEM item
- ITEM? selected,
- Color? backgroundColor,
- TextStyle? textStyle,
- TextStyle? selectedTextStyle,
- DividerThemeData? dividerTheme,
- required Widget createItemView(
- BuildContext context,
- ITEM item
- int columnNum = 2,
Implementation
SingleSelectionDropdownView({
Key? key,
required this.options,
required this.getTitle,
this.selected,
this.backgroundColor,
this.textStyle,
this.selectedTextStyle,
this.dividerTheme,
required this.createItemView,
this.columnNum = 2,
}) : super(key: key);