UnboundedPositioned.fill constructor

const UnboundedPositioned.fill({
  1. Key? key,
  2. required Widget child,
})

Creates a Positioned that fills its parent while allowing unbounded hit testing.

Implementation

const UnboundedPositioned.fill({super.key, required this.child})
  : left = 0.0,
    top = 0.0,
    right = 0.0,
    bottom = 0.0,
    width = null,
    height = null;