AppSize.child constructor

AppSize.child({
  1. Key? key,
  2. double? canvasWidth,
  3. required Widget child,
})

Implementation

factory AppSize.child({
  Key? key,
  double? canvasWidth,
  required Widget child,
}) =>
    AppSize(
      key: key,
      canvasWidth: canvasWidth,
      builder: (context, orientation, deviceType) => child,
    );