FormBuilderColorPicker class

Constructors

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 })

Properties

attribute String
final
autocorrect bool
final
autofocus bool
final
autovalidate bool
final
buildCounter → InputCounterWidgetBuilder
final
colorPickerType ColorPickerType
final
controller → TextEditingController
final
cursorColor Color
final
cursorRadius Radius
final
cursorWidth double
final
decoration → InputDecoration
final
enabled bool
final
enableInteractiveSelection bool
final
expands bool
final
focusNode → FocusNode
final
initialValue Color
final
inputFormatters List<TextInputFormatter>
final
keyboardAppearance Brightness
final
keyboardType → TextInputType
final
maxLength int
final
maxLengthEnforced bool
final
maxLines int
final
minLines int
final
obscureText bool
final
onChanged → ValueChanged
final
onEditingComplete VoidCallback
final
onFieldSubmitted → ValueChanged<String>
final
onSaved → FormFieldSetter<Color>
final
readOnly bool
final
scrollPadding → EdgeInsets
final
showCursor bool
final
strutStyle → StrutStyle
final
style → TextStyle
final
textAlign TextAlign
final
textCapitalization → TextCapitalization
final
textDirection TextDirection
final
textInputAction → TextInputAction
final
validators List<FormFieldValidator>
final
valueTransformer ValueTransformer
final
hashCode int
The hash code for this object. [...]
read-only, inherited
key → Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createState() → _FormBuilderColorPickerState
Creates the mutable state for this widget at a given location in the tree. [...]
createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toDiagnosticsNode({String name, DiagnosticsTreeStyle style }) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel: DiagnosticLevel.debug }) String
Returns a string representation of this object.
inherited
toStringDeep({String prefixLineOne: '', String prefixOtherLines, DiagnosticLevel minLevel: DiagnosticLevel.debug }) String
Returns a string representation of this node and its descendants. [...]
inherited
toStringShallow({String joiner: ', ', DiagnosticLevel minLevel: DiagnosticLevel.debug }) String
Returns a one-line detailed description of the object. [...]
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited