FormBuilderDateRangePicker class
Constructors
-
FormBuilderDateRangePicker({Key key, @required String attribute, @required DateTime firstDate, @required DateTime lastDate, @required DateFormat format, List<
DateTime> initialValue, List<FormFieldValidator> validators: const [], bool readOnly: false, InputDecoration decoration: const InputDecoration(), bool autovalidate: false, int maxLines: 1, bool obscureText: false, TextCapitalization textCapitalization: TextCapitalization.none, EdgeInsets scrollPadding: const EdgeInsets.all(20.0), bool enabled: true, bool enableInteractiveSelection: true, bool maxLengthEnforced: true, TextAlign textAlign: TextAlign.start, bool autofocus: false, bool autocorrect: true, double cursorWidth: 2.0, TextInputType keyboardType, TextStyle style, TextEditingController controller, FocusNode focusNode, TextInputAction textInputAction, StrutStyle strutStyle, TextDirection textDirection, int maxLength, VoidCallback onEditingComplete, ValueChanged<String> onFieldSubmitted, List<TextInputFormatter> inputFormatters, Radius cursorRadius, Color cursorColor, Brightness keyboardAppearance, InputCounterWidgetBuilder buildCounter, ValueChanged onChanged ValueTransformer valueTransformer, bool expands: false, int minLines, bool showCursor, DateTime initialFirstDate, DateTime initialLastDate, DatePickerMode initialDatePickerMode: DateRangePicker.DatePickerMode.day, Locale locale, SelectableDayPredicate selectableDayPredicate, FormFieldSetter onSaved })
Properties
- attribute → String
-
final
- autocorrect → bool
-
final
- autofocus → bool
-
final
- autovalidate → bool
-
final
- buildCounter → InputCounterWidgetBuilder
-
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
- firstDate → DateTime
-
final
- focusNode → FocusNode
-
final
- format → DateFormat
-
final
- initialDatePickerMode → DatePickerMode
-
final
- initialFirstDate → DateTime
-
final
- initialLastDate → DateTime
-
final
-
initialValue
→ List<
DateTime> -
final
-
inputFormatters
→ List<
TextInputFormatter> -
final
- keyboardAppearance → Brightness
-
final
- keyboardType → TextInputType
-
final
- lastDate → DateTime
-
final
- locale → Locale
-
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
-
final
- readOnly → bool
-
final
- scrollPadding → EdgeInsets
-
final
- selectableDayPredicate → SelectableDayPredicate
-
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(
) → FormBuilderDateRangePickerState - 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