PagingHelperViewTheme class
A theme for PagingHelperView. This is used to configure the default appearance of PagingHelperView.
loadingViewBuilder is used to build the loading view. errorViewBuilder is used to build the error view. endLoadingViewBuilder is used to build the ui of endItemView. endErrorViewBuilder is used to build the ui of endItemView when an error occurs. enableRefreshIndicator is used to enable or disable the pull-to-refresh functionality.
- Inheritance
-
- Object
- ThemeExtension<
PagingHelperViewTheme> - PagingHelperViewTheme
Constructors
- PagingHelperViewTheme({WidgetBuilder? loadingViewBuilder, ErrorWidgetBuilder? errorViewBuilder, WidgetBuilder? endLoadingViewBuilder, EndErrorWidgetBuilder? endErrorViewBuilder, bool? enableRefreshIndicator})
Properties
- enableRefreshIndicator → bool?
-
final
- endErrorViewBuilder → EndErrorWidgetBuilder?
-
final
- endLoadingViewBuilder → WidgetBuilder?
-
final
- errorViewBuilder → ErrorWidgetBuilder?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadingViewBuilder → WidgetBuilder?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{WidgetBuilder? loadingViewBuilder, ErrorWidgetBuilder? errorViewBuilder, WidgetBuilder? endLoadingViewBuilder, EndErrorWidgetBuilder? endErrorViewBuilder, bool? enableRefreshIndicator}) → ThemeExtension< PagingHelperViewTheme> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< PagingHelperViewTheme> ? other, double t) → ThemeExtension<PagingHelperViewTheme> -
Linearly interpolate with another ThemeExtension object.
override
-
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