of static method

Implementation

static SunnyFormTheme of(BuildContext context) {
  final SunnyFormTheme? theme = Provided.find(context);
  return theme ?? const SunnyFormTheme();
}