of static method

ThemeData? of(
  1. BuildContext context
)

Implementation

static ThemeData? of(BuildContext context) {
  _theme.value = LightTheme.of(context);
  return _theme.value;
}