fallback static method

ZeroButtonGroupTextStyle fallback({
  1. TextStyle? textStyle,
  2. Color? activeBackgroundColor,
})

Implementation

static ZeroButtonGroupTextStyle fallback({
  TextStyle? textStyle,
  Color? activeBackgroundColor,
}) =>
    ZeroButtonGroupTextStyle(
      activeBackgroundColor: activeBackgroundColor ?? ZeroColors.neutral[3],
      inactiveTextStyle: textStyle ??
          TextStyle(
            fontSize: 14,
            fontWeight: FontWeight.w500,
            color: ZeroColors.neutral[10],
          ),
      activeTextStyle: textStyle ??
          TextStyle(
            fontSize: 14,
            fontWeight: FontWeight.w500,
            color: ZeroColors.neutral[10],
          ),
    );