MXFormController class

Constructors

MXFormController({Map<String, List<MXFormRule>>? rules})

Properties

disabled ↔ bool
getter/setter pair
errorMap ↔ Map<String, bool>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
modelMap ↔ Map<String, MXFormItemModel>?
getter/setter pair
rules ↔ Map<String, List<MXFormRule>>?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ MXFormState?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCleanAllValidator() → void
清空表单的校验
onCleanValidatorByProps(String props) → void
清空表单某一项的校验 props 对应 MXFormItemModel 中的 props
onGetFormValue() → Map<String, dynamic>
获取表单的值
onReset({bool isCleanValidator = false}) → dynamic
清空表单的值
onValidatorByAll() → bool
校验整个表单
onValidatorByProps(String props, {bool isAll = false}) → bool
校验表单的某一项 props 对应 MXFormItemModel 中的 props
setModelMap(Map<String, MXFormItemModel> modelMap) → dynamic
setState(MXFormState state) → dynamic
toString() → String
A string representation of this object.
inherited

Operators

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