TListTheme class
- Implementers
Constructors
- TListTheme({TListAnimationBuilder? animationBuilder = TListAnimationBuilders.staggered, Duration animationDuration = const Duration(milliseconds: 800), bool shrinkWrap = false, ScrollPhysics? physics, EdgeInsets? padding, TListEmptyBuilder? emptyStateBuilder, TListErrorBuilder? errorStateBuilder, TListLoadingBuilder? loadingBuilder, TListHeaderBuilder? headerBuilder, bool? headerSticky, bool? infiniteScroll, double? itemBaseHeight, TListSeparatorBuilder? listSeparatorBuilder, TListDragProxyDecorator? dragProxyDecorator, TGridMode? grid, TGridDelegateBuilder? gridDelegate})
-
const
- TListTheme.defaultTheme(ColorScheme colors)
-
factory
Properties
- animationBuilder → TListAnimationBuilder?
-
final
- animationDuration → Duration
-
final
- dragProxyDecorator → TListDragProxyDecorator?
-
final
- emptyStateBuilder → TListEmptyBuilder?
-
final
- errorStateBuilder → TListErrorBuilder?
-
final
-
final
-
final
- grid → TGridMode?
-
final
- gridDelegate → TGridDelegateBuilder?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerBuilder → TListHeaderBuilder?
-
final
- headerSticky → bool?
-
final
- infiniteScroll → bool?
-
final
-
final
- itemBaseHeight → double
-
final
- listSeparatorBuilder → TListSeparatorBuilder?
-
final
- loadingBuilder → TListLoadingBuilder?
-
final
- padding → EdgeInsets?
-
final
- physics → ScrollPhysics?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shrinkWrap → bool
-
final
Methods
-
copyWith(
{TListAnimationBuilder? animationBuilder, Duration? animationDuration, bool? shrinkWrap, ScrollPhysics? physics, EdgeInsets? padding, TListEmptyBuilder? emptyStateBuilder, TListErrorBuilder? errorStateBuilder, TListLoadingBuilder? loadingBuilder, TListHeaderBuilder? headerBuilder, bool? headerSticky, bool? infiniteScroll, double? itemBaseHeight, TListSeparatorBuilder? listSeparatorBuilder, TListDragProxyDecorator? dragProxyDecorator, TGridMode? grid, TGridDelegateBuilder? gridDelegate}) → TListTheme -
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
Static Methods
-
buildEmptyState(
ColorScheme colors, {IconData icon = Icons.inbox_outlined, String title = 'No data available', dynamic message = 'No items found'}) → Widget -
buildErrorState(
ColorScheme colors, {IconData icon = Icons.error_outline, required String title, required String message}) → Widget