of static method

StylesMap? of(
  1. BuildContext context
)

Implementation

static StylesMap? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<_CInheritedStylesWidget>()?.value;
}