global property

LayoutBreakpoints global
getter/setter pair

The process-wide default. Override before runApp() to retune every layout-detection helper in df_screen.

void main() {
  LayoutBreakpoints.global = const LayoutBreakpoints(
    mobileMaxShortestSide: 600,
  );
  runApp(const App());
}

Implementation

static LayoutBreakpoints global = const LayoutBreakpoints();