LoadingConfig class
A configuration class for defining the loading widgets used in the enhanced paginated view.
The LoadingConfig class allows you to customize the widgets used for displaying the page and the load more indicators in the enhanced paginated view.
- Annotations
Constructors
- LoadingConfig({Widget? pageWidget, Widget? loadMoreWidget})
-
Creates a new instance of LoadingConfig.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- loadMoreWidget → Widget?
-
The widget used for displaying the load more indicator.
final
- pageWidget → Widget?
-
The widget used for displaying the loading in first page.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Widget? pageWidget, Widget? loadMoreWidget}) → LoadingConfig - Creates a copy of this config with the given fields replaced.
-
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.
override