BasicInputDateTime class

Inheritance

Constructors

BasicInputDateTime({Key? key, String? name, BasicInputDateTimeType type = BasicInputDateTimeType.date, bool autoOpenSelectDate = true, DateTime? initialValue, dynamic onDateChanged(DateTime?)?, DateTime? initialDate, DateTime? firstDate, DateTime? lastDate, DateTime? currentDate, TimeOfDay? initialTime, BasicInputSize? size, double? width, TextEditingController? controller, FocusNode? focusNode, dynamic onFocusChange(bool)?, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextInputAction? textInputAction, TextInputType? keyboardType, int maxLines = 1, int? minLines, int? maxLength, bool enabled = true, bool obscureText = false, EdgeInsets? scrollPadding, Color? cursorColor, AutovalidateMode? autoValidateMode, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, ValueTransformer<String?>? valueTransformer, ValueChanged<String?>? onChanged, GestureTapCallback? onTap, VoidCallback? onEditingComplete, FormFieldSetter? onSaved, bool? isDense, bool? filled, Widget? prefixIcon, Widget? suffixIcon, EdgeInsets? contentPadding, InputBorder? focusedBorder, InputBorder? enabledBorder, InputBorder? disabledBorder, InputBorder? errorBorder, InputBorder? focusedErrorBorder, Color? fillColor, Color? hoverColor, String? labelText, TextStyle? labelStyle, TextStyle? floatingLabelStyle, FloatingLabelBehavior? floatingLabelBehavior, String? hintText, TextStyle? hintStyle, String? errorText, int? errorMaxLines, TextStyle? errorStyle})
const

Properties

autoOpenSelectDate bool
final
autoValidateMode AutovalidateMode?
final
contentPadding EdgeInsets?
final
controller TextEditingController?
final
currentDate DateTime?
final
cursorColor Color?
final
disabledBorder InputBorder?
final
enabled bool
final
enabledBorder InputBorder?
final
errorBorder InputBorder?
final
errorMaxLines int?
final
errorStyle TextStyle?
final
errorText String?
final
fillColor Color?
final
filled bool?
final
firstDate DateTime?
final
floatingLabelBehavior FloatingLabelBehavior?
final
floatingLabelStyle TextStyle?
final
focusedBorder InputBorder?
final
focusedErrorBorder InputBorder?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
final
hintText String?
final
hoverColor Color?
final
initialDate DateTime?
final
initialTime TimeOfDay?
final
initialValue DateTime?
final
inputFormatters List<TextInputFormatter>?
final
isDense bool?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
labelStyle TextStyle?
final
labelText String?
final
lastDate DateTime?
final
maxLength int?
final
maxLines int
final
minLines int?
final
name String?
final
obscureText bool
final
onChanged ValueChanged<String?>?
final
onDateChanged → (dynamic Function(DateTime?)?)
final
onEditingComplete VoidCallback?
final
onFocusChange → (dynamic Function(bool)?)
final
onSaved FormFieldSetter?
final
onTap GestureTapCallback?
final
prefixIcon Widget?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPadding EdgeInsets?
final
size BasicInputSize?
final
suffixIcon Widget?
final
textAlign TextAlign
final
textAlignVertical TextAlignVertical?
final
textInputAction TextInputAction?
final
type BasicInputDateTimeType
final
validator FormFieldValidator<String>?
final
valueTransformer → ValueTransformer<String?>?
final
width double?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<BasicInputDateTime>
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