SizedBoxModifier constructor

const SizedBoxModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. double? width,
  5. double? height,
})

Creates a fixed size box. The width and height parameters can be null to indicate that the size of the box should not be constrained in the corresponding dimension.

Implementation

const SizedBoxModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.width,
  this.height,
});