of static method
Get the NyThemeManager instance from context.
This is a convenience method that returns the singleton instance.
Implementation
static NyThemeManager of(BuildContext context) {
return NyThemeManager.instance;
}
Get the NyThemeManager instance from context.
This is a convenience method that returns the singleton instance.
static NyThemeManager of(BuildContext context) {
return NyThemeManager.instance;
}