of static method
- BuildContext context
The display range from the closest DisplayRangeProvider instance that encloses the given context.
Implementation
static DisplayRange of(BuildContext context) => context
.dependOnInheritedWidgetOfExactType<_InheritedDisplayRange>()!
.displayRange;