AppSize constructor

const AppSize({
  1. Key? key,
  2. double? canvasWidth,
  3. required ResponsiveBuild builder,
})

The Widget that gets the device's details like orientation and constraints.

Usage: Wrap MaterialApp with this widget.

Implementation

const AppSize({
  super.key,
  this.canvasWidth,
  required this.builder,
});