PreviewBody constructor

const PreviewBody({
  1. required double? width,
  2. required double? height,
  3. required bool applyCenter,
  4. required Widget child,
  5. Key? key,
})

Implementation

const PreviewBody({
  required double? width,
  required double? height,
  required bool applyCenter,
  required this.child,
  super.key,
})  : _width = width,
      _height = height,
      _applyCenter = applyCenter;