body static method
Body Text
Implementation
static TextStyle body(BuildContext context, TextFontSize size) {
final theme = Theme.of(context).textTheme;
switch (size) {
case TextFontSize.LARGE:
return theme.bodyLarge!;
case TextFontSize.MEDIUM:
return theme.bodyMedium!;
case TextFontSize.SMALL:
return theme.bodySmall!;
}
}