CardExpirationDateInputElement class
blueprint for card expiration date input
id : String,should be unique.
label : (String) text label of TextField.
isPicker
: (bool) show bottomSheet to select values for inputs.
decorationElement :input decoration of TextField.
isRequired : (bool) if true,make this field required.
requiredErrorMsg : (String) show error message when the field isn't validate.
padding : (EdgeInsets) padding of textField.
- Inheritance
-
- Object
- FormElement
- TextElement
- NumberElement
- CardExpirationDateInputElement
Constructors
- CardExpirationDateInputElement({String? id, int? maxYear, String? label, bool isRequired = true, DateExpirationEntryMode entryMode = DateExpirationEntryMode.input, DecorationElement? decorationElement, required String requiredErrorMsg, required String invalidErrorMsg, EdgeInsets padding = const EdgeInsets.all(0)})
Properties
- decorationElement → DecorationElement?
-
final
- entryMode → DateExpirationEntryMode
-
final
- error → String?
-
finalinherited
- errorMsg → String?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
finalinherited
- id → String?
-
final
- initValue → String?
-
finalinherited
- invalidErrorMsg → String
-
final
- isDigits → bool
-
finalinherited
- isRequired → bool
-
final
- label → String?
-
final
- maxYear → int?
-
final
- onTap → Function?
-
finalinherited
- padding → EdgeInsets
-
final
- readOnly → bool
-
finalinherited
- requiredErrorMsg → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeInput → TypeInput
-
finalinherited
- validator → Validation?
-
finalinherited
- 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