of static method

AppSkin of(
  1. BuildContext context
)

Implementation

static AppSkin of(BuildContext context) {
  AppSkin? skin = context.dependOnInheritedWidgetOfExactType<AppSkin>();
  skin!._init();
  return skin;
}