DateInputElement class
blueprint that date input to date
id : String,should be unique. initDate : (DateTime) initialize the input field. label : (String) text label of TextField. decorationElement :input decoration of TextField. hint : (String) hint text of textField. isRequired : (bool) if true,make this field required. errorMsg : (String) show error message when the field isn't validate. padding : (EdgeInsets) padding of textField.
- Inheritance
-
- Object
- FormElement
- TextElement
- DateInputElement
Constructors
-
DateInputElement({String? id, DateFormat? dateFormat, DateTime? initDate, String? label, int? minLength, List<
TextInputFormatter> ? formatters, bool? isRequired, DecorationElement? decorationElement, Validation? validator, String? hint, String? errorMsg, String? requiredErrorMsg, EdgeInsets padding = const EdgeInsets.all(0)})
Properties
- dateFormat → DateFormat?
-
final
- decorationElement → DecorationElement?
-
final
- error → String?
-
finalinherited
- errorMsg → String?
-
final
-
formatters
→ List<
TextInputFormatter> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
final
- id → String?
-
final
- initDate → DateTime?
-
final
- initValue → String?
-
finalinherited
- isRequired → bool?
-
final
- label → String?
-
final
- minLength → int?
-
final
- onTap → Function?
-
finalinherited
- padding → EdgeInsets
-
final
- readOnly → bool
-
final
- requiredErrorMsg → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeInput → TypeInput
-
finalinherited
- validator → Validation?
-
final
- visibility → bool
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited