labelForegroundColor method

Color labelForegroundColor(
  1. BuildContext context
)

Gets the label foreground color for ZetaWidgetStatus.

Implementation

Color labelForegroundColor(BuildContext context) => switch (this) {
      ZetaWidgetStatus.info => Zeta.of(context).colors.mainInverse,
      ZetaWidgetStatus.positive => Zeta.of(context).colors.mainInverse,
      ZetaWidgetStatus.warning => Zeta.of(context).colors.mainInverse,
      ZetaWidgetStatus.negative => Zeta.of(context).colors.mainInverse,
      ZetaWidgetStatus.neutral => Zeta.of(context).colors.mainDefault,
    };