FormBuilder class

@FormBuilder is the decorator used to generate a form from a class. allowNullorEmpty if set to true allows the form to save with empty or null values. needScaffold if set to true will generate a scaffold with a form, otherwise the form will be generated as a widget.

Constructors

FormBuilder({bool allowNullorEmpty = false, bool needScaffold = true, dynamic platform})
const

Properties

allowNullorEmpty bool
final
hashCode int
The hash code for this object.
no setterinherited
needScaffold bool
final
platform → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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