fallback static method
ZeroButtonGroupOutlinedStyle
fallback({
- AccentColor? primaryColor,
- TextStyle? textStyle,
- Color? inactiveBorderColor,
Implementation
static ZeroButtonGroupOutlinedStyle fallback({
AccentColor? primaryColor,
TextStyle? textStyle,
Color? inactiveBorderColor,
}) =>
ZeroButtonGroupOutlinedStyle(
activeBackgroundColor: primaryColor?.light ?? Colors.transparent,
inactiveBorderColor: inactiveBorderColor ?? ZeroColors.neutral[5],
activeBorderColor: primaryColor ?? ZeroColors.primary,
inactiveTextStyle: textStyle ??
TextStyle(
fontSize: 14,
fontWeight: FontWeight.w500,
color: ZeroColors.neutral[10],
),
activeTextStyle:
textStyle?.copyWith(color: primaryColor ?? ZeroColors.primary) ??
TextStyle(
fontSize: 14,
fontWeight: FontWeight.w500,
color: primaryColor ?? ZeroColors.primary,
),
);