of method Null safety
- BuildContext context
The data from the InheritedAuthButton instance that encloses the given context.
This of method is typical in others InheritedWidgets.
Implementation
static InheritedAuthButton? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<InheritedAuthButton>();
}