ViewConstraints constructor

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

Creates view constraints with the given constraints.

Implementation

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