maybeIdOf static method
- BuildContext context
Like idOf, but null outside a tag subtree.
Implementation
static Object? maybeIdOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<_MorphTagIdScope>()?.id;
}
Like idOf, but null outside a tag subtree.
static Object? maybeIdOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<_MorphTagIdScope>()?.id;
}