FormConfig<T> class

统一的表单字段配置

Inheritance

Constructors

FormConfig({required FormType type, required String name, required String label, bool required = false, dynamic defaultValue, FormValidator? validator, bool isShow = true, T? props, Key? key})
const

Properties

defaultValue → dynamic
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isShow bool
finalinherited
key Key?
finalinherited
label String
finalinherited
name String
finalinherited
props → T?
final
required bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type FormType
final
validator FormValidator?
finalinherited

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