breakpointWidth static method
The width breakpoints are picked by: the width the widget is laid out in, so a layout embedded in a 390 wide frame inside a 1440 wide window shows its 390 canvas. Only when it's unbounded (in a horizontal scroll view) does the screen width stand in for it.
Implementation
static double breakpointWidth(BuildContext context, BoxConstraints constraints) =>
constraints.hasBoundedWidth ? constraints.maxWidth : MediaQuery.sizeOf(context).width;