SkeletonizerConfigData class

Holds Skeletonizer theme data

Constructors

SkeletonizerConfigData({PaintingEffect effect = const ShimmerEffect(), bool justifyMultiLineText = true, TextBoneBorderRadius textBorderRadius = _defaultTextBoneBorderRadius, bool ignoreContainers = false, Color? containersColor})
Default constructor
const
SkeletonizerConfigData.dark({PaintingEffect effect = const ShimmerEffect(baseColor: Color(0xFF3A3A3A), highlightColor: Color(0xFF424242)), Color? containersColor, bool justifyMultiLineText = true, TextBoneBorderRadius textBorderRadius = _defaultTextBoneBorderRadius, bool ignoreContainers = false})
Builds a dark themed instance
const
SkeletonizerConfigData.light({PaintingEffect effect = const ShimmerEffect(), bool justifyMultiLineText = true, TextBoneBorderRadius textBorderRadius = _defaultTextBoneBorderRadius, bool ignoreContainers = false, Color? containersColor})
Builds a light themed instance
const

Properties

containersColor Color?
The color of the container elements this includes Container, Card, DecoratedBox ..etc
final
effect PaintingEffect
The painting effect to apply on the skeletonized elements
final
hashCode int
The hash code for this object.
no setteroverride
ignoreContainers bool
Whether to ignore container elements and only paint the dependents
final
justifyMultiLineText bool
Whether to justify multi line text bones
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textBorderRadius TextBoneBorderRadius
The TextElement border radius config
final

Methods

copyWith({PaintingEffect? effect, TextBoneBorderRadius? textBorderRadius, bool? justifyMultiLineText, bool? ignoreContainers, Color? containersColor}) SkeletonizerConfigData
Clones the instance with overrides
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