of static method
The WxAnchorTheme from the closest instance of this class that encloses the given context.
Typical usage is as follows:
AnchorThemeData theme = AnchorTheme.of(context);
Implementation
static WxAnchorThemeData of(BuildContext context) {
final parent = WxAnchorTheme.maybeOf(context);
if (parent != null) return parent;
return WxAnchorThemeDefault(context);
}