PhysicalPixelBox constructor

const PhysicalPixelBox({
  1. Key? key,
  2. required Widget child,
  3. double dpr = 3.0,
  4. Color color = const Color(0xFFE0E0E0),
  5. double width = 1.0,
})

Implementation

const PhysicalPixelBox({
  super.key,
  required this.child,
  this.dpr = 3.0,
  this.color = const Color(0xFFE0E0E0),
  this.width = 1.0,
}) : assert(width >= 0);