DateTextField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DateTextField
Constructors
-
DateTextField({Key? key, AdeptValueController<
DateTime> ? controller, FocusNode? focusNode, InputDecoration decoration = const InputDecoration(), TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization textCapitalization = TextCapitalization.none, TextStyle? style, TextAlign textAlign = TextAlign.start, TextDirection? textDirection, bool autofocus = false, bool obscureText = false, bool autocorrect = true, int maxLines = 1, int? maxLength, bool maxLengthEnforced = true, ValueChanged<String> ? onChanged, VoidCallback? onEditingComplete, ValueChanged<String> ? onSubmitted, List<TextInputFormatter> ? inputFormatters, bool? enabled, double cursorWidth = 2.0, Radius? cursorRadius, Color? cursorColor, Brightness? keyboardAppearance, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), bool enableInteractiveSelection = true, GestureTapCallback? onTap, VoidCallback? clearButtonAction, Color? clearButtonColor, IconData? clearButtonIcon, bool autoUpdateDecoration = true, DateTimePickerMode dateTimePickerMode = DateTimePickerMode.BOTH, String? dateFormat, DateTime? defaultDate, OnDateTimeSelected? onDateTimeSelected})
Properties
- autocorrect ↔ bool
-
getter/setter pair
- autofocus ↔ bool
-
getter/setter pair
- autoUpdateDecoration ↔ bool
-
getter/setter pair
- clearButtonAction ↔ VoidCallback?
-
getter/setter pair
- clearButtonColor ↔ Color?
-
getter/setter pair
- clearButtonIcon ↔ IconData?
-
getter/setter pair
-
controller
↔ AdeptValueController<
DateTime> ? -
getter/setter pair
- cursorColor ↔ Color?
-
getter/setter pair
- cursorRadius ↔ Radius?
-
getter/setter pair
- cursorWidth ↔ double
-
getter/setter pair
- dateFormat ↔ String?
-
getter/setter pair
- dateTimePickerMode ↔ DateTimePickerMode
-
getter/setter pair
- decoration ↔ InputDecoration
-
getter/setter pair
- defaultDate ↔ DateTime?
-
getter/setter pair
- enabled ↔ bool?
-
getter/setter pair
- enableInteractiveSelection ↔ bool
-
getter/setter pair
- focusNode ↔ FocusNode?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputFormatters
↔ List<
TextInputFormatter> ? -
getter/setter pair
- key ↔ Key?
-
Controls how one widget replaces another widget in the tree.
getter/setter pairoverride-getter
- keyboardAppearance ↔ Brightness?
-
getter/setter pair
- keyboardType ↔ TextInputType?
-
getter/setter pair
- maxLength ↔ int?
-
getter/setter pair
- maxLengthEnforced ↔ bool
-
getter/setter pair
- maxLines ↔ int
-
getter/setter pair
- obscureText ↔ bool
-
getter/setter pair
-
onChanged
↔ ValueChanged<
String> ? -
getter/setter pair
- onDateTimeSelected ↔ OnDateTimeSelected?
-
getter/setter pair
- onEditingComplete ↔ VoidCallback?
-
getter/setter pair
-
onSubmitted
↔ ValueChanged<
String> ? -
getter/setter pair
- onTap ↔ GestureTapCallback?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPadding ↔ EdgeInsets
-
getter/setter pair
- style ↔ TextStyle?
-
getter/setter pair
- textAlign ↔ TextAlign
-
getter/setter pair
- textCapitalization ↔ TextCapitalization
-
getter/setter pair
- textController ↔ TextEditingController?
-
getter/setter pair
- textDirection ↔ TextDirection?
-
getter/setter pair
- textInputAction ↔ TextInputAction?
-
getter/setter pair
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → DateTextFieldState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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.info}) → String -
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 ==(
Object other) → bool -
The equality operator.
inherited
Constants
- DATE_FORMAT → const String