maybeOf static method
- BuildContext context
Implementation
static NclWidgetState? maybeOf(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<_NclInheritedWidget>()
?.state;
}
static NclWidgetState? maybeOf(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<_NclInheritedWidget>()
?.state;
}