ReadyPicker<T, Args, TController extends ReadyPickerController<T, Args>> constructor

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

Implementation

ReadyPicker({
  this.decoration = const InputDecoration(),
  required this.controller,
  this.inActiveColor,
  Key? key,
  this.activeColor,
  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,
  this.focusNode,
})  : builder = null,
      _buildItem = null,
      super(key: key, child: SingleField<T, Args, TController>());