CustomMultiSelectField<T> constructor
CustomMultiSelectField<T> ({
- Key? key,
- required List<
T> items, - required String title,
- required void onSelectionDone(
- List<
T>
- List<
- double? width,
- InputDecoration? decoration,
- String? validator(
- List<
T>
- List<
- List<
T> ? initialValue, - String itemAsString(
- dynamic T
- Color selectedItemColor = Colors.redAccent,
- bool enableAllOptionSelect = false,
Implementation
CustomMultiSelectField({
Key? key,
required this.items,
required this.title,
required this.onSelectionDone,
this.width,
this.decoration,
this.validator,
this.initialValue,
this.itemAsString,
this.selectedItemColor = Colors.redAccent,
this.enableAllOptionSelect= false,
}): super(key: key);