SizedBox.expand constructor

SizedBox.expand({
  1. Widget? child,
})

Creates a box that will become as large as its parent allows.

Implementation

SizedBox.expand({this.child})
  : width = double.infinity,
    height = double.infinity;