SizedBox.expand constructor

const SizedBox.expand({Key key, Widget child })

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

Implementation

const SizedBox.expand({ Key key, Widget child })
  : width = double.infinity,
    height = double.infinity,
    super(key: key, child: child);