KeySignature class

A armadura de um tom do formato (G, Bb, Am…): só ela importa, o modo não muda o desenho.

Annotations

Constructors

KeySignature(int fifths, {bool minor = false})
const
KeySignature.parse(String? name)
O tom name (um de kKeyNames); null é Dó maior/Lá menor.
factory

Properties

fifths → int
Sustenidos (+) ou bemóis (−) na armadura, de −7 a 7.
final
hashCode → int
The hash code for this object.
no setterinherited
minor → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

alterOf(String step) → int
Alteração que a armadura põe na letra step (C…B): −1, 0 ou 1.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

none → const KeySignature