AppDropDown<T>.singleSelect constructor
const
AppDropDown<T>.singleSelect ({
- Key? key,
- String? title,
- bool isMultiDropDown = false,
- required List<
T> list, - required T? selectedValue,
- required dynamic singleValueBuilder(
- T
- required dynamic itemBuilder(
- T
- required dynamic onSingleChange(
- T
- dynamic onMultiChange(
- List<
T>
- List<
- dynamic multiValueBuilder(
- T
- List<
T> ? multiSelectedValue, - String? hint,
- bool isFilled = false,
- Color? borderColor,
- double? radius,
- EdgeInsets? padding,
- EdgeInsets? boxPadding,
- double? width,
- Widget? textBox,
- dynamic onCreateController()?,
- String? error,
- bool isEnabled = true,
- dynamic onTap()?,
- Widget? prefixIcon,
- Widget? suffixIcon,
Implementation
const AppDropDown.singleSelect({
super.key,
this.title,
this.isMultiDropDown = false,
required this.list,
required this.selectedValue,
required this.singleValueBuilder,
required this.itemBuilder,
required this.onSingleChange,
this.onMultiChange,
this.multiValueBuilder,
this.multiSelectedValue,
this.hint,
this.isFilled = false,
this.borderColor,
this.radius,
this.padding,
this.boxPadding,
this.menuMaxHeight,
this.width,
this.textBox,
this.onCreateController,
this.error,
this.isEnabled = true,
this.onTap,
this.prefixIcon,
this.suffixIcon,
});