Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(accidental): 📖 add symbols to static const members #366

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions lib/src/note/accidental.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ final class Accidental implements Comparable<Accidental> {
/// Creates a new [Accidental] from [semitones].
const Accidental(this.semitones);

/// A triple sharp [Accidental].
/// A triple sharp (♯𝄪) [Accidental].
static const tripleSharp = Accidental(3);

/// A double sharp [Accidental].
/// A double sharp (𝄪) [Accidental].
static const doubleSharp = Accidental(2);

/// A sharp [Accidental].
/// A sharp (♯) [Accidental].
static const sharp = Accidental(1);

/// A natural [Accidental].
/// A natural (♮) [Accidental].
static const natural = Accidental(0);

/// A flat [Accidental].
/// A flat (♭) [Accidental].
static const flat = Accidental(-1);

/// A double flat [Accidental].
/// A double flat (𝄫) [Accidental].
static const doubleFlat = Accidental(-2);

/// A triple flat [Accidental].
/// A triple flat (♭𝄫) [Accidental].
static const tripleFlat = Accidental(-3);

static const _doubleSharpSymbol = '𝄪';
Expand Down