ProKitDropDown<T> constructor
const
ProKitDropDown<T> ({
- Key? key,
- T? selectedValue,
- List<
T> ? selectedValues, - Color? borderColor,
- Color? itemTextColor,
- Color? backgroundColor,
- List<
T> ? items, - String? hint,
- bool? isShowSearch,
- EdgeInsetsGeometry? contentPadding,
- dynamic onChanged(
- T?
- dynamic onMultiChanged(
- List<
T>
- List<
- Future<
List< dropdownAsyncItems()?,T> > - required String itemAsString(
- T
- double width = 140,
- double height = 52,
- double? textSize,
- bool? isReadOnly,
- bool? isShowError,
- String? errorMessage,
- TextStyle itemTextStyleBuilder(
- T
- bool isMultiSelect = false,
Implementation
const ProKitDropDown({
super.key,
this.selectedValue,
this.selectedValues,
this.borderColor,
this.itemTextColor,
this.backgroundColor,
this.items,
this.hint,
this.isShowSearch,
this.contentPadding,
this.onChanged,
this.onMultiChanged,
this.dropdownAsyncItems,
required this.itemAsString,
this.width = 140,
this.height = 52,
this.textSize,
this.isReadOnly,
this.isShowError,
this.errorMessage,
this.itemTextStyleBuilder,
this.isMultiSelect = false,
});