fields library

Mixins

FieldCell<F extends Field>
FieldCellHelper<F extends Field, T extends FieldCellWidget<F>>

Functions

fieldsFromJson(List value) List<List<Field>>
fieldsFromJsonRow(List row) List<Field>
fieldsToJson(List<List<Field>> fields) List<List<Json>>
fieldsToJsonRow(List<Field> fields) List<Json>
generateStructureFieldId(String fieldId) String
generateStructureJson({required String id, required dynamic structure}) Future<Json>
generateStructurePageId(String structureFieldId, String modelId) String
isScalar(dynamic value) bool
isStructureField(String fieldId) bool
titleFieldFromJson(dynamic json) TitleField
titleFieldsFromJson(dynamic json) List<TitleField>
titleFieldsToJson(List<TitleField> titleFields) List<Json>
titleFieldToJson(TitleField titleField) → Json

Typedefs

DataChangesCallback = void Function(Json data)
DescriptionFactory = FieldDescription Function([BuildContext? context])
FieldChanged = void Function(String fieldId, Object? value)