of method

TextStyle of(
  1. BuildContext context, {
  2. bool emphasized = false,
})

Implementation

TextStyle of(BuildContext context, {bool emphasized = false}) {
  final theme = Theme.of(context);
  return _apply(
    size < title3.size ? theme.bodyTextStyle : theme.displayTextStyle,
    emphasized: emphasized,
  );
}