FormProps class

Represents the properties of a form field.

Constructors

FormProps.new({required bool? isRequired, bool isWarned = false, List<FormOption>? options})
Creates a new instance of FormProps.

Properties

hashCode int
The hash code for this object.
no setterinherited
isRequired bool?
Indicates whether the form field is required.
final
isWarned bool
Indicates whether the form field has a warning.
getter/setter pair
options List<FormOption>?
The options available for the form field.
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.
override

Operators

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