GridSlots<T> class
Slot callbacks for customizing grid UI sections.
Constructors
-
GridSlots({Widget loadingState(BuildContext)?, Widget errorState(BuildContext, String error, VoidCallback onRetry)?, Widget emptyState(BuildContext, GridEmptyContext)?, Widget toolbar(BuildContext, GridTableState<
T> )?, Widget pagination(BuildContext, GridTableState<T> )?, Widget bulkActionBar(BuildContext, GridTableState<T> )?, Widget rowLeading(BuildContext, RowModel<T> row)?, Widget rowTrailing(BuildContext, RowModel<T> row)?}) -
const
Properties
-
final
-
bulkActionBar
→ Widget Function(BuildContext, GridTableState<
T> )? -
final
- emptyState → Widget Function(BuildContext, GridEmptyContext)?
-
final
- errorState → Widget Function(BuildContext, String error, VoidCallback onRetry)?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadingState → Widget Function(BuildContext)?
-
final
-
pagination
→ Widget Function(BuildContext, GridTableState<
T> )? -
final
-
rowLeading
→ Widget Function(BuildContext, RowModel<
T> row)? -
final
-
rowTrailing
→ Widget Function(BuildContext, RowModel<
T> row)? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toolbar
→ Widget Function(BuildContext, GridTableState<
T> )? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited