fallback static method

ZeroButtonGroupUnderlineStyle fallback({
  1. AccentColor? primaryColor,
  2. TextStyle? textStyle,
})

Implementation

static ZeroButtonGroupUnderlineStyle fallback({
  AccentColor? primaryColor,
  TextStyle? textStyle,
}) =>
    ZeroButtonGroupUnderlineStyle(
      underlineColor: primaryColor ?? ZeroColors.primary,
      activeColor: primaryColor ?? ZeroColors.primary,
      inactiveTextStyle: textStyle ??
          TextStyle(
            fontSize: 14,
            fontWeight: FontWeight.w500,
            color: ZeroColors.neutral[10],
          ),
      activeTextStyle: textStyle?.copyWith(color: primaryColor) ??
          TextStyle(
            fontSize: 14,
            fontWeight: FontWeight.w500,
            color: ZeroColors.neutral[10],
          ),
    );