FieldModel class

Constructors

FieldModel({@required String label, 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', DateTypes dateType: DateTypes.eighteenYearsBefore, dynamic value})

Properties

action InputActions
final
dateTimeFormat String
final
dateType DateTypes
final
errorMessage String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
hint String
final
label String
final
mandatory bool
final
maxLength int
final
maxLengthMessage String
final
minLength int
final
minLengthMessage String
final
name String
read / write
options List<FieldOptionsModel>
final
password bool
final
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sameTo String
final
sameToError String
final
type Types
final
vallidate bool
final
value → dynamic
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited