InputField class
Constructors
-
InputField({required String id, required String name, required String valueType, String? translatedName = '', String? description = '', String? hint = '', String? translatedHint = '', String? translatedDescription = '', String? prefixLabel = '', String? suffixLabel = '', InputField? subInputField, int? maxLength, int? maxYear, int? minYear, int? numberOfMonth, DateTime? minDate, DateTime? maxDate, Color? inputColor = AppConstants.defaultColor, Color? labelColor = const Color(0xFF1A3518), Color? background = Colors.transparent, List<
InputFieldOption> ? options = const [], bool? renderAsRadio = false, bool? isReadOnly = false, bool? hasSubInputField = false, bool? isPasswordField = false, bool? shouldCapitalize = false, bool? hasError = false, bool? allowFuturePeriod = false, bool? disablePastPeriod = false, List<int> allowedSelectedLevels = const [], bool? disableLocationAutoUpdate = false})
Properties
-
allowedSelectedLevels
↔ List<
int> -
getter/setter pair
- allowFuturePeriod ↔ bool?
-
getter/setter pair
- background ↔ Color?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- disableLocationAutoUpdate ↔ bool?
-
getter/setter pair
- disablePastPeriod ↔ bool?
-
getter/setter pair
- hasError ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSubInputField ↔ bool?
-
getter/setter pair
- hint ↔ String?
-
getter/setter pair
- id ↔ String
-
getter/setter pair
- inputColor ↔ Color?
-
getter/setter pair
- isPasswordField ↔ bool?
-
getter/setter pair
- isReadOnly ↔ bool?
-
getter/setter pair
- labelColor ↔ Color?
-
getter/setter pair
- maxDate ↔ DateTime?
-
getter/setter pair
- maxLength ↔ int?
-
getter/setter pair
- maxYear ↔ int?
-
getter/setter pair
- minDate ↔ DateTime?
-
getter/setter pair
- minYear ↔ int?
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- numberOfMonth ↔ int?
-
getter/setter pair
-
options
↔ List<
InputFieldOption> ? -
getter/setter pair
- prefixLabel ↔ String?
-
getter/setter pair
- renderAsRadio ↔ bool?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldCapitalize ↔ bool?
-
getter/setter pair
- subInputField ↔ InputField?
-
getter/setter pair
- suffixLabel ↔ String?
-
getter/setter pair
- translatedDescription ↔ String?
-
getter/setter pair
- translatedHint ↔ String?
-
getter/setter pair
- translatedName ↔ String?
-
getter/setter pair
- valueType ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited