SkeletonizerConfigData.dark constructor
const
SkeletonizerConfigData.dark({
- PaintingEffect effect = const ShimmerEffect(baseColor: Color(0xFF3A3A3A), highlightColor: Color(0xFF424242)),
- TextBoneBorderRadius textBorderRadius = _defaultTextBoneBorderRadius,
- bool justifyMultiLineText = true,
- bool ignoreContainers = false,
- Color? containersColor,
- bool enableSwitchAnimation = false,
- SwitchAnimationConfig switchAnimationConfig = const SwitchAnimationConfig(),
Constructs a SkeletonizerConfigData instance with the given properties for dark theme.
Implementation
const SkeletonizerConfigData.dark({
this.effect = const ShimmerEffect(
baseColor: Color(0xFF3A3A3A),
highlightColor: Color(0xFF424242),
),
this.textBorderRadius = _defaultTextBoneBorderRadius,
this.justifyMultiLineText = true,
this.ignoreContainers = false,
this.containersColor,
this.enableSwitchAnimation = false,
this.switchAnimationConfig = const SwitchAnimationConfig(),
});