CanvasBreakpointsForWidth extension

on

Methods

forWidth(double width, Breakpoints breakpoints) → CanvasBreakpoint?

Available on Iterable<CanvasBreakpoint>, provided by the CanvasBreakpointsForWidth extension

The entry for width: the one whose switch point (by breakpoints) is the highest at or below it, else the narrowest. Null when there are none.