AutoProperty class

Implementers

Constructors

AutoProperty({required String field, String? title, required AutoPropertyType type, String? validator(dynamic)?, Widget? widget, List<String>? options, String? hint})
AutoProperty.fromMap(Map<String, dynamic> map)
factory

Properties

field String
the current field name (if this property is for First Name field maybe first_name ) Provide a random field name for AutoPropertyType.widgets
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hint String?
The hint (if applicable) is displayed inside the field by default
getter/setter pair
options List<String>?
Options for AutoPropertyType.select
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The title (if applicable) is displayed atop the field by default
getter/setter pair
type AutoPropertyType
Describes the type of the property
getter/setter pair
validator ↔ (String? Function(dynamic)?)
The validator to run upon submit
getter/setter pair
widget Widget?
Custom widget. Applicapple only with AutoPropertyType.widget
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.
inherited

Operators

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