fileCount method

String? fileCount(
  1. int count
)

Implementation

String? fileCount(int count) {
  final string = switch (count) {
    0 => '- no files',
    1 => '- 1 file',
    _ => '- $count files',
  };

  return darkGray.wrap(string);
}