of static method

FormTheme? of(
  1. BuildContext context
)

Implementation

static FormTheme? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<FormThemeProvider>()
      ?.theme;
}