calcPadding static method Null safety
- int indent
Calculates an amount of padding to provie at the beginning of each new
line based on indent
.
Implementation
static String calcPadding(int indent) => List.filled(indent, ' ').join();
Calculates an amount of padding to provie at the beginning of each new
line based on indent
.
static String calcPadding(int indent) => List.filled(indent, ' ').join();