Border constructor

const Border({
  1. Style style = Style.empty,
  2. String topChar = '─',
  3. String bottomChar = '─',
  4. String leftChar = '│',
  5. String rightChar = '│',
  6. String topLeftChar = '┌',
  7. String topRightChar = '┐',
  8. String bottomLeftChar = '└',
  9. String bottomRightChar = '┘',
})

Creates a new Border configuration.

Implementation

const Border({
  this.style = Style.empty,
  this.topChar = '─',
  this.bottomChar = '─',
  this.leftChar = '│',
  this.rightChar = '│',
  this.topLeftChar = '┌',
  this.topRightChar = '┐',
  this.bottomLeftChar = '└',
  this.bottomRightChar = '┘',
});