AppDropdown<T> constructor

const AppDropdown<T>({
  1. Key? key,
  2. T? value,
  3. required String hint,
  4. required List<T> items,
  5. required Widget builder(
    1. T
    ),
  6. ValueSetter<T?>? onChanged,
  7. String? validator(
    1. T?
    )?,
  8. Color? fillColor,
  9. double? vPadding,
  10. double? width,
  11. TextEditingController? searchController,
  12. bool searchMatchFn(
    1. DropdownItem<T>,
    2. String
    )?,
})

Implementation

const AppDropdown({
  super.key,
  this.value,
  required this.hint,
  required this.items,
  required this.builder,
  this.onChanged,
  this.validator,
  this.fillColor,
  this.vPadding,
  this.width,
  this.searchController,
  this.searchMatchFn,
});