FdcGridLayoutPersistenceFeature class abstract
Extension contract for loading, saving, and deleting grid layout snapshots.
The Community grid calls this seam at lifecycle and layout-change boundaries; add-on packages decide where and how snapshots are persisted.
Constructors
- FdcGridLayoutPersistenceFeature()
-
Creates a FdcGridLayoutPersistenceFeature.
const
Properties
- autoLoad → bool
-
Whether the grid should load a persisted snapshot during initialization.
no setter
- autoSave → bool
-
Whether layout changes should schedule automatic persistence.
no setter
- autoSaveDelay → Duration
-
Debounce interval used before an automatic save is performed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteSnapshot(
{required bool rethrowError}) → FutureOr< void> - Deletes any persisted snapshot.
-
loadSnapshot(
{required bool rethrowError}) → FutureOr< FdcGridLayoutSnapshot?> -
Loads the persisted snapshot, returning
nullwhen none is available. -
markSnapshotSaved(
FdcGridLayoutSnapshot snapshot) → void -
Records that
snapshotis the latest successfully persisted layout state. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveSnapshot(
FdcGridLayoutSnapshot snapshot, {required bool rethrowError}) → FutureOr< void> -
Persists
snapshot. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited