subtitleStyle method

TextStyle subtitleStyle(
  1. BuildContext context
)

Implementation

TextStyle subtitleStyle(BuildContext context) {
  switch (this) {
    case EmptyHierarchy.sm:
      return context.typography.textSmRegular.copyWith(
          color: context.color.foreground(ForegroundColorType.tertiary));
    case EmptyHierarchy.md:
      return context.typography.textSmRegular.copyWith(
          color: context.color.foreground(ForegroundColorType.tertiary));
    case EmptyHierarchy.lg:
      return context.typography.textMdRegular.copyWith(
          color: context.color.foreground(ForegroundColorType.tertiary));
  }
}