ReadyMultiPicker<T, TController extends ReadyPickerController<T>> constructor

ReadyMultiPicker<T, TController extends ReadyPickerController<T>>({
  1. InputDecoration decoration = const InputDecoration(),
  2. required TController controller,
  3. Color? inActiveColor,
  4. Key? key,
  5. Color? activeColor,
  6. FocusNode? focusNode,
  7. TextStyle? itemTextStyle,
  8. TextStyle? textStyle,
  9. FormFieldSetter<List<T>>? onSaved,
  10. FormFieldSetter<List<T>>? onChanged,
  11. FormFieldValidator<List<T>>? validator,
  12. List<T>? initialValue,
  13. AutovalidateMode? autovalidateMode,
  14. int? maxLines,
  15. TextAlign textAlign = TextAlign.start,
  16. bool enabled = true,
  17. Future<T> showItems(
    1. BuildContext context,
    2. 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, TController>());