FortuneItemStyle.disabled constructor
Creates an opinionated disabled style based on the current ThemeData.
Implementation
FortuneItemStyle.disabled(ThemeData theme, {double opacity = 0.0})
: this(
color: Color.alphaBlend(
theme.disabledColor.withOpacity(opacity),
theme.disabledColor,
),
borderWidth: 0.0,
textStyle: TextStyle(color: theme.colorScheme.onPrimary),
);