AppDropDownWithSingleSelection constructor
const
AppDropDownWithSingleSelection({
- Key? key,
- double? width,
- required Rx<
DropDownResponse?> selectedId, - required RxList<
DropDownResponse> listItems, - required String hintText,
- required VoidCallback onClearPressed,
- dynamic onItemSelected()?,
- bool isAPISearchEnabled = false,
- bool isShowAddNewButton = false,
- bool isShowResetButton = false,
- bool isPaginationEnabled = false,
- bool isValidator = false,
- dynamic onSearchRequest()?,
- VoidCallback? onReset,
- VoidCallback? onAddNew,
- String? validator()?,
Implementation
const AppDropDownWithSingleSelection({
super.key,
this.width,
required this.selectedId,
required this.listItems,
required this.hintText,
required this.onClearPressed,
this.onItemSelected,
this.isAPISearchEnabled = false,
this.isShowAddNewButton = false,
this.isShowResetButton = false,
this.isPaginationEnabled = false,
this.isValidator = false,
this.onSearchRequest,
this.onReset,
this.onAddNew,
this.validator,
});