ModularCustomizableDropdown constructor
const
ModularCustomizableDropdown({
- required ReactMode reactMode,
- required dynamic onValueSelect(
- DropdownValue selectedValue
- required List<
DropdownValue> allDropdownValues, - required bool barrierDismissible,
- required DropdownStyle dropdownStyle,
- required bool collapseOnSelect,
- void onDropdownVisibilityChange(
- bool visible
- CallbackReactParams? callbackReactParams,
- TapReactParams? tapReactParams,
- FocusReactParams? focusReactParams,
- List<
Key> ? rowKeys, - Key? listviewKey,
- Key? offStageWidgetKey,
- Key? overlayEntryKey,
- Key? key,
Implementation
const ModularCustomizableDropdown({
required this.reactMode,
required this.onValueSelect,
required this.allDropdownValues,
required this.barrierDismissible,
required this.dropdownStyle,
required this.collapseOnSelect,
this.onDropdownVisibilityChange,
this.callbackReactParams,
this.tapReactParams,
this.focusReactParams,
this.rowKeys,
this.listviewKey,
this.offStageWidgetKey,
this.overlayEntryKey,
Key? key,
}) : assert((tapReactParams != null && reactMode == ReactMode.tapReact) ||
(focusReactParams != null && reactMode == ReactMode.focusReact) ||
(callbackReactParams != null &&
reactMode == ReactMode.callbackReact)),
super(key: key);