fallback static method

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

Implementation

static ZeroButtonGroupFilledStyle fallback({
  AccentColor? primaryColor,
  TextStyle? textStyle,
}) =>
    ZeroButtonGroupFilledStyle(
      activeColor: primaryColor?.light ?? ZeroColors.primary[5],
      inactiveColor: primaryColor ?? ZeroColors.primary,
      inactiveTextStyle: textStyle ??
          const TextStyle(
            fontSize: 14,
            fontWeight: FontWeight.w500,
            color: ZeroColors.white,
          ),
      activeTextStyle: textStyle ??
          const TextStyle(
            fontSize: 14,
            fontWeight: FontWeight.w500,
            color: ZeroColors.white,
          ),
    );