ReadyMultiPicker<T, Args, TController extends ReadyPickerController<T, Args> > constructor
ReadyMultiPicker<T, Args, TController extends ReadyPickerController<T, Args> > ({
- InputDecoration decoration = const InputDecoration(),
- required TController controller,
- Color? inActiveColor,
- Key? key,
- Color? activeColor,
- FocusNode? focusNode,
- TextStyle? itemTextStyle,
- TextStyle? textStyle,
- FormFieldSetter<
List< ? onSaved,T> > - FormFieldSetter<
List< ? onChanged,T> > - FormFieldValidator<
List< ? validator,T> > - List<
T> ? initialValue, - AutovalidateMode? autovalidateMode,
- int? maxLines,
- TextAlign textAlign = TextAlign.start,
- bool enabled = true,
- Future<
T> showItems(- BuildContext context,
- Widget child
Implementation
ReadyMultiPicker({
this.decoration = const InputDecoration(),
required this.controller,
this.inActiveColor,
Key? key,
this.activeColor,
this.focusNode,
this.itemTextStyle,
this.textStyle,
this.onSaved,
this.onChanged,
this.validator,
this.initialValue,
this.autovalidateMode,
this.maxLines,
this.textAlign = TextAlign.start,
this.enabled = true,
this.showItems,
}) : builder = null,
_buildItem = null,
super(key: key, child: MultiField<T, Args, TController>());