of static method
Implementation
static HypenContainer of(BuildContext context) {
final inherited =
context.dependOnInheritedWidgetOfExactType<_HypenInheritedContainer>();
if (inherited == null) {
throw 'You should wrap your widget tree with [HypenScope]';
}
return inherited._container;
}