SizedOverflowBoxModifier constructor

const SizedOverflowBoxModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required Size size,
  5. AlignmentGeometry alignment = Alignment.center,
})

Creates a widget of a given size that lets its child overflow.

The size argument must not be null.

Implementation

const SizedOverflowBoxModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.size,
  this.alignment = Alignment.center,
});