SkeletonConfig class

Constructors

SkeletonConfig.new({Color shimmerColor = const Color(0xFFE0E0E0), Color highlightColor = const Color(0xFFF5F5F5), Color backgroundColor = const Color(0xFFEEEEEE), int numberOfItems = 3, Duration timeoutDuration = const Duration(seconds: 30), Widget? errorWidget, double shimmerSpeed = 1.0})
const

Properties

backgroundColor Color
final
errorWidget Widget?
final
hashCode int
The hash code for this object.
no setterinherited
highlightColor Color
final
numberOfItems int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shimmerColor Color
final
shimmerSpeed double
final
timeoutDuration Duration
final

Methods

copyWith({Color? shimmerColor, Color? highlightColor, Color? backgroundColor, int? numberOfItems, Duration? timeoutDuration, Widget? errorWidget, double? shimmerSpeed}) SkeletonConfig
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