of static method
The closest instance of this class that encloses the given context.
Typical usage is as follows:
ListTileMoreCustomizableTheme theme = ListTileMoreCustomizableTheme.of(context);
Implementation
static WiseListTileTheme of(BuildContext context) {
final WiseListTileTheme? result =
context.dependOnInheritedWidgetOfExactType<WiseListTileTheme>();
return result ?? const WiseListTileTheme(child: SizedBox());
}