SearchableDropdown<T>.future constructor

SearchableDropdown<T>.future({
  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>>?> futureRequest()?,
})

Implementation

SearchableDropdown.future({
  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.futureRequest,
}) : super(key: key);