Bordered constructor

Bordered({
  1. LogSpan? child,
  2. BoxBorderStyle style = BoxBorderStyle.single,
  3. ConsoleColor? borderColor,
  4. int padding = 1,
})

Creates a bordered span around the child content.

  • style determines the border characters (single, double, rounded, etc.)
  • borderColor sets the ANSI color for the border
  • padding adds spacing between the border and content

Implementation

Bordered({
  super.child,
  this.style = BoxBorderStyle.single,
  this.borderColor,
  this.padding = 1,
});