sizedOverflowing method

Widget sizedOverflowing({
  1. required double width,
  2. required double height,
  3. AlignmentGeometry alignment = Alignment.center,
  4. Key? key,
})

A widget that is a specific size but passes its original constraints through to its child, which will probably overflow.

Implementation

Widget sizedOverflowing({
  required double width,
  required double height,
  AlignmentGeometry alignment = Alignment.center,
  Key? key,
}) {
  return SizedOverflowBox(
    key: key,
    alignment: alignment,
    size: Size(width, height),
    child: this,
  );
}