maybeOf static method

TextStyle? maybeOf(
  1. BuildContext context
)

Implementation

static TextStyle? maybeOf(BuildContext context) {
  final result =
      context.dependOnInheritedWidgetOfExactType<NomoDefaultTextStyle>();
  return result?.style;
}