BoxConstraints constructor

const BoxConstraints({
  1. double minWidth = 0.0,
  2. double maxWidth = double.infinity,
  3. double minHeight = 0.0,
  4. double maxHeight = double.infinity,
})

Creates box constraints with the given constraints.

Implementation

const BoxConstraints(
    {this.minWidth = 0.0,
    this.maxWidth = double.infinity,
    this.minHeight = 0.0,
    this.maxHeight = double.infinity});