SearchableDropdown<T>.paginated constructor

SearchableDropdown<T>.paginated({
  1. Key? key,
  2. Widget? hintText,
  3. Widget backgroundDecoration(
    1. Widget child
    )?,
  4. String? searchHintText,
  5. Widget? noRecordText,
  6. double? dropDownMaxHeight,
  7. EdgeInsetsGeometry? margin,
  8. Widget? trailingIcon,
  9. Widget? leadingIcon,
  10. bool isEnabled = true,
  11. VoidCallback? disabledOnTap,
  12. void onChanged(
    1. T? value
    )?,
  13. required Future<List<SearchableDropdownMenuItem<T>>?> paginatedRequest(
    1. int page,
    2. String? searchKey
    )?,
  14. int? requestItemCount,
})

Implementation

SearchableDropdown.paginated({
  Key? key,
  this.hintText,
  this.backgroundDecoration,
  this.searchHintText,
  this.noRecordText,
  this.dropDownMaxHeight,
  this.margin,
  this.trailingIcon,
  this.leadingIcon,
  this.isEnabled = true,
  this.disabledOnTap,
  this.onChanged,
  required this.paginatedRequest,
  this.requestItemCount,
}) : super(key: key);