DropDownSingleSelectionWithPagination constructor

const DropDownSingleSelectionWithPagination({
  1. Key? key,
  2. required RxList<DropDownResponse> listItems,
  3. required dynamic onItemSelected(
    1. DropDownResponse
    ),
  4. int selectedValue = 0,
  5. bool isAPISearchEnable = false,
  6. bool isShowAddNewButton = false,
  7. bool isShowResetButton = false,
  8. dynamic onSearchRequest(
    1. String
    )?,
  9. void onReset()?,
  10. void onAddNew()?,
})

Implementation

const DropDownSingleSelectionWithPagination(
    {super.key,
    required this.listItems,
    required this.onItemSelected,
    this.selectedValue = 0,
    this.isAPISearchEnable = false,
    this.isShowAddNewButton = false,
    this.isShowResetButton = false,
    this.onSearchRequest,
    this.onReset,
    this.onAddNew});