FormBuilderColorPicker constructor
FormBuilderColorPicker({Key key, @required String attribute, Color initialValue, List<FormFieldValidator> validators: const [], bool enabled: true, bool autovalidate: false, ValueTransformer valueTransformer, ValueChanged onChanged, FormFieldSetter<Color> onSaved, TextEditingController controller, FocusNode focusNode, bool readOnly: false, ColorPickerType colorPickerType: ColorPickerType.ColorPicker, InputDecoration decoration: const InputDecoration(), TextCapitalization textCapitalization: TextCapitalization.none, TextAlign textAlign: TextAlign.start, TextInputType keyboardType, TextInputAction textInputAction, TextStyle style, StrutStyle strutStyle, TextDirection textDirection, bool autofocus: false, bool obscureText: false, bool autocorrect: true, bool maxLengthEnforced: true, int maxLines: 1, bool expands: false, bool showCursor, int minLines, int maxLength, VoidCallback onEditingComplete, ValueChanged<String> onFieldSubmitted, List<TextInputFormatter> inputFormatters, double cursorWidth: 2.0, Radius cursorRadius, Color cursorColor, Brightness keyboardAppearance, EdgeInsets scrollPadding: const EdgeInsets.all(20.0), bool enableInteractiveSelection: true, InputCounterWidgetBuilder buildCounter })
Implementation
FormBuilderColorPicker({
Key key,
@required this.attribute,
this.initialValue,
this.validators = const [],
this.enabled = true,
this.autovalidate = false,
this.valueTransformer,
this.onChanged,
this.onSaved,
//
this.controller,
this.focusNode,
this.readOnly = false,
this.colorPickerType = ColorPickerType.ColorPicker,
this.decoration = const InputDecoration(),
this.textCapitalization = TextCapitalization.none,
this.textAlign = TextAlign.start,
this.keyboardType,
this.textInputAction,
this.style,
this.strutStyle,
this.textDirection,
this.autofocus = false,
this.obscureText = false,
this.autocorrect = true,
this.maxLengthEnforced = true,
this.maxLines = 1,
this.expands = false,
this.showCursor,
this.minLines,
this.maxLength,
this.onEditingComplete,
this.onFieldSubmitted,
this.inputFormatters,
this.cursorWidth = 2.0,
this.cursorRadius,
this.cursorColor,
this.keyboardAppearance,
this.scrollPadding = const EdgeInsets.all(20.0),
this.enableInteractiveSelection = true,
this.buildCounter,
});