StackChildData constructor

const StackChildData({
  1. int? left,
  2. int? top,
  3. int? right,
  4. int? bottom,
  5. int? width,
  6. int? height,
})

Creates positioning metadata in whole terminal cells.

Implementation

const StackChildData({
  this.left,
  this.top,
  this.right,
  this.bottom,
  this.width,
  this.height,
}) : assert(width == null || width >= 0),
     assert(height == null || height >= 0),
     assert(left == null || right == null || width == null),
     assert(top == null || bottom == null || height == null);