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