of static method

LoginThemeData? of(
  1. BuildContext context
)

Implementation

static LoginThemeData? of(BuildContext context) {
  LoginTheme? loginTheme =
      context.dependOnInheritedWidgetOfExactType<LoginTheme>();
  if (loginTheme != null) {
    return loginTheme.loginThemeData;
  }
  return null;
}