divider static method
Prints a horizontal divider line. Pass title to print it centered inside a boxed header instead of a plain line.
Implementation
static void divider({String title = ''}) {
if (title.isNotEmpty) {
print('╔════════════════════════════════════════════════════════════════════════════════╗');
print('║${title.padLeft(77)}║');
print('╚════════════════════════════════════════════════════════════════════════════════╝');
} else {
print('────────────────────────────────────────────────────────────────────────────────');
}
}