maybeOf static method

TypographyData? maybeOf(
  1. BuildContext context
)

Implementation

static TypographyData? maybeOf(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<_TypographyScope>()
      ?.data;
}