EditorController class

Available extensions

Constructors

EditorController(Map<String, Object?>? dataEntity, String onSaveProcedure, List<EditorItem> editorItems)

Properties

dataEntity → Map<String, Object?>
final
editorItems → List<EditorItem>
final
hashCode → int
The hash code for this object.
no setterinherited
hintMessage → String
no setter
invalidMessage → String
no setter
invalidPhone → String
no setter
onSaveProcedure → String
final
onSuccess ↔ VoidCallback?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkMinMax(EditorItem item) → String?

Available on EditorController, provided by the MinMax extension

getEditorItemByFieldName(String fieldName) → EditorItem?
getHintText(String fieldName) → String
getInputFormatters(String fieldName) → List<TextInputFormatter>
getInvalidText(String fieldName) → String
getText(String fieldName) → String
getTextInputType(String fieldName) → TextInputType?
getTitleByFieldName(String fieldName) → String?
getValidator(String fieldName) → String?
initalValue(Map<String, Object?>? initialMapValue) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onValueChanged(String fieldName, Object value) → void
save({VoidCallback? onSuccess, bool useLoadingDialog = false, dynamic afterSave(bool success, Map<String, List<Map<String, Object?>?>?> response)?, bool checkDirtyData = true, bool uploadImage = true, Map<String, Object?>? params}) → Future<Map<String, Object?>>

Available on EditorController, provided by the EditorUpload extension

saveImages(Map<String, List<Map<String, Object?>?>?> response) → Future<void>

Available on EditorController, provided by the EditorUpload extension

showInvalidDialog({required String message}) → void
toString() → String
A string representation of this object.
inherited
validate({int step = 1, bool isShowInvalidDialog = true}) → bool

Operators

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

Static Properties

mapDataReturn ↔ Map<String, Object?>
getter/setter pair