of static method
The breakPointData
from the closest Breakpoint instance that encloses the given
context.
Implementation
static BreakpointData? of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<Breakpoint>()
?.breakpointData;
}