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