Bordered constructor
Bordered({
- LogSpan? child,
- BoxBorderStyle style = BoxBorderStyle.single,
- ConsoleColor? borderColor,
- int padding = 1,
Creates a bordered span around the child content.
styledetermines the border characters (single, double, rounded, etc.)borderColorsets the ANSI color for the borderpaddingadds spacing between the border and content
Implementation
Bordered({
super.child,
this.style = BoxBorderStyle.single,
this.borderColor,
this.padding = 1,
});