label property

  1. @override
String get label
override

Texto que a tela mostra, em português.

Implementation

@override
String get label {
  final subs = spec.kind == ChordLevelKind.progression
      ? _progressionSubTitles
      : _subTitles;
  final limit = timeLimit;
  final how = limit == null ? subs[sub] : '${subs[sub]} ($limit s)';
  return '${spec.title} · $how';
}