ResolvedSkeletonizerConfigData class

The resolved configuration data used by the skeletonizer painting pipeline.

Unlike SkeletonizerConfigData, the painting effect has already been resolved for a specific Brightness so it can be used without a BuildContext.

Annotations

Constructors

ResolvedSkeletonizerConfigData({required PaintingEffect effect, TextBoneBorderRadius textBorderRadius = _defaultTextBoneBorderRadius, bool justifyMultiLineText = true, bool ignoreContainers = false, Color? containersColor, BoneResolver? boneResolver, bool enableSwitchAnimation = false, SwitchAnimationConfig switchAnimationConfig = const SwitchAnimationConfig()})
Constructs a ResolvedSkeletonizerConfigData with the given properties.
const

Properties

boneResolver → BoneResolver?
Resolves the dimensions and shape of button bones.
final
containersColor → Color?
The color of the container elements.
final
effect → PaintingEffect
The painting effect to apply on the skeletonized elements.
final
enableSwitchAnimation → bool
Whether to enable the switch animation between the skeleton and the actual widget.
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
switchAnimationConfig → SwitchAnimationConfig
The configuration of the switch animation.
final
textBorderRadius → TextBoneBorderRadius
The border radius configuration for text elements.
final

Methods

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