FieldModel class

Constructors

FieldModel({required String type, required String key, dynamic label, dynamic placeholder, List<String> validators = const [], List<Map<String, dynamic>>? options, Map<String, dynamic>? localization, Map<String, dynamic>? visibleWhen, Map<String, dynamic>? extra, String? prefixIcon, String? suffixIcon, String? border, int? borderRadius, bool? filled, String? borderColor, String? focusedBorderColor, String? fillColor, String? activeColor, String? tileColor, String? selectedTileColor, String? shape, double? contentPadding, double? visualDensity, bool? isDense})
FieldModel.fromJson(Map<String, dynamic> json, {String? locale})
factory

Properties

activeColor String?
final
border String?
final
borderColor String?
final
borderRadius int?
final
contentPadding double?
final
extra Map<String, dynamic>?
final
fillColor String?
final
filled bool?
final
focusedBorderColor String?
final
hashCode int
The hash code for this object.
no setterinherited
isDense bool?
final
key String
final
label → dynamic
final
localization Map<String, dynamic>?
final
options List<Map<String, dynamic>>?
final
placeholder → dynamic
final
prefixIcon String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTileColor String?
final
shape String?
final
suffixIcon String?
final
tileColor String?
final
type String
final
validators List<String>
final
visibleWhen Map<String, dynamic>?
final
visualDensity double?
final

Methods

getLocalizedLabel(BuildContext context) String?
getLocalizedPlaceholder(BuildContext context) String?
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