FieldModel class

Constructors

FieldModel({required String label, double? padding, String name = '', String sameTo = '', String sameToError = '', Types type = Types.text, String errorMessage = '', bool mandatory = false, InputActions action = InputActions.auto, String hint = '', bool vallidate = false, int maxLength = 0, String maxLengthMessage = '', int minLength = 0, String minLengthMessage = '', bool password = false, bool readOnly = false, List<FieldOptionsModel> options = const [], String dateTimeFormat = 'MM/dd/yyyy', TextCapitalization capitalization = TextCapitalization.none, DateTypes dateType = DateTypes.eighteenYearsBefore, Color readOnlyColor = const Color(0xFFE9EAEE), dynamic value, List<TextInputFormatter>? formatters})

Properties

action InputActions
final
capitalization TextCapitalization
final
dateTimeFormat String
final
dateType DateTypes
final
errorMessage String
final
formatters List<TextInputFormatter>?
final
hashCode int
The hash code for this object.
no setterinherited
hint String
final
label String
final
mandatory bool
final
maxLength int
final
maxLengthMessage String
final
minLength int
final
minLengthMessage String
final
name String
getter/setter pair
options List<FieldOptionsModel>
final
padding double?
final
password bool
final
readOnly bool
final
readOnlyColor Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sameTo String
final
sameToError String
final
type Types
final
vallidate bool
final
value → dynamic
final

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