SingleSelectionDropdownView<ITEM>.builder constructor

SingleSelectionDropdownView<ITEM>.builder(
  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. int columnNum = 2}
)

Implementation

SingleSelectionDropdownView.builder({
  Key? key,
  required this.options,
  required this.getTitle,
  this.selected,
  this.backgroundColor,
  this.textStyle,
  this.selectedTextStyle,
  this.dividerTheme,
  this.columnNum = 2,
}) : createItemView = null;