of static method
Implementation
static PatternLocker? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<PatternLocker>();
static PatternLocker? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<PatternLocker>();