UpdateScaffoldWidget<T extends UpdateableDatabaseItem<T>> class

Inheritance

Constructors

UpdateScaffoldWidget({Key? key, required IUpdateScaffoldWidgetService<T> databaseCollection, required T createNewItem(), required String? updateableItemId, required Widget builder(BuildContext context), required PreferredSizeWidget? appBarBuilder(BuildContext context), Widget? menuBarBuilder(BuildContext context)?, Widget? drawerBuilder(BuildContext context)?, List<Widget?>? hintWidgetsBuilder(BuildContext context)?, Future<int>? preparationFuture()?, Widget builderPreparation(BuildContext context)?, PreferredSizeWidget? appBarBuilderPreparation(BuildContext context)?, Widget? menuBarBuilderPreparation(BuildContext context)?, Widget? drawerBuilderPreparation(BuildContext context)?, Future<bool> onBeforeSave(BuildContext context)?, void onAfterSave(BuildContext context)?, void onAfterInsert(BuildContext context, DocumentReference<Object?>? itemReference)?, void onAbort(BuildContext context)?, void initValidator(Validator<T> validator)?, List<String>? fieldsNotToUpdate, Future<bool> onBeforeDelete(BuildContext context)?, required ILockService? lockService, bool scrollable = true, Future<bool> onWillPop(BuildContext)?})
const

Properties

appBarBuilder PreferredSizeWidget? Function(BuildContext context)
final
appBarBuilderPreparation → (PreferredSizeWidget? Function(BuildContext context)?)
final
builder Widget Function(BuildContext context)
final
builderPreparation → (Widget Function(BuildContext context)?)
final
createNewItem → T Function()
final
databaseCollection IUpdateScaffoldWidgetService<T>
final
drawerBuilder → (Widget? Function(BuildContext context)?)
final
drawerBuilderPreparation → (Widget? Function(BuildContext context)?)
final
fieldsNotToUpdate List<String>?
final
hashCode int
The hash code for this object.
no setterinherited
hintWidgetsBuilder → (List<Widget?>? Function(BuildContext context)?)
final
initValidator → (void Function(Validator<T> validator)?)
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lockService ILockService?
final
final
final
onAbort → (void Function(BuildContext context)?)
final
onAfterInsert → (void Function(BuildContext context, DocumentReference<Object?>? itemReference)?)
final
onAfterSave → (void Function(BuildContext context)?)
final
onBeforeDelete → (Future<bool> Function(BuildContext context)?)
final
onBeforeSave → (Future<bool> Function(BuildContext context)?)
final
onWillPop → (Future<bool> Function(BuildContext)?)
final
preparationFuture → (Future<int>? Function()?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollable bool
final
updateableItemId String?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<UpdateScaffoldWidget<T>>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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