titleStyle method
Implementation
TextStyle titleStyle(BuildContext context) {
switch (this) {
case EmptyHierarchy.sm:
return context.typography.textMdSemibold.copyWith(
color: context.color.foreground(ForegroundColorType.primary));
case EmptyHierarchy.md:
return context.typography.textLgSemibold.copyWith(
color: context.color.foreground(ForegroundColorType.primary));
case EmptyHierarchy.lg:
return context.typography.textXlSemibold.copyWith(
color: context.color.foreground(ForegroundColorType.primary));
}
}