defaultColors static method

MiuixTabRowColors defaultColors(
  1. BuildContext context
)

Implementation

static MiuixTabRowColors defaultColors(BuildContext context) {
  final colors = MiuixTheme.of(context).colors;
  return MiuixTabRowColors(
    backgroundColor: colors.surface,
    contentColor: colors.onSurfaceVariantSummary,
    selectedBackgroundColor: colors.surfaceContainer,
    selectedContentColor: colors.onBackground,
  );
}