SingleSelectionDropdownView<ITEM> constructor

SingleSelectionDropdownView<ITEM>(
  1. {Key? key,
  2. required List<ITEM> options,
  3. required String getTitle(
    1. ITEM item
    ),
  4. ITEM? selected,
  5. Color? backgroundColor,
  6. TextStyle? textStyle,
  7. TextStyle? selectedTextStyle,
  8. DividerThemeData? dividerTheme,
  9. required Widget createItemView(
    1. BuildContext context,
    2. ITEM item
    )?,
  10. 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);