model library

Classes

FieldCreationModal
FieldEditorModal
FieldTypeSelectorModal
Model
Model is a representation of some domain object, which we want to have shown at the admin panel
ModelListBloc
ModelListState

Constants

kModelField → const String

Properties

modelModel Model
final

Functions

generateModelId(String modelId) String
generateModelJson({required String id, required dynamic model}) Future<Json>
genericRelationsModel({required String firstModelId, required String secondModelId, String? firstModelName, String? secondModelName, bool withPrimaryKey = true}) Model
showFieldCreationModal(BuildContext context, FieldType fieldType) Future<Field?>
showFieldEditorModal({required BuildContext context, required Model model, required Field field}) Future<Field?>
showFieldTypeSelectorModal(BuildContext context, {Set<FieldType>? include, Set<FieldType>? exclude}) Future<FieldType?>