SizedBox.expand constructor

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

Creates a sized box that expands to fit its parent.

Implementation

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