SingleSelectionDropdownView<ITEM>.custom constructor

SingleSelectionDropdownView<ITEM>.custom(
  1. {Key? key,
  2. required List<ITEM> options,
  3. required String getTitle(
    1. ITEM item
    ),
  4. ITEM? selected,
  5. Color? backgroundColor,
  6. required Widget createItemView(
    1. BuildContext context,
    2. ITEM item
    )?,
  7. int columnNum = 2}
)

Implementation

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