Syllable class

Representa a syllable de lyric de music, correspwherendo to the elemento <syl> of the MEI v5.

Syllable(text: 'can', type: SyllableType.initial)  // "can-"
Syllable(text: 'ta', type: SyllableType.terminal)  // "-ta"

Constructors

Syllable({required String text, SyllableType type = SyllableType.single, bool italic = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
italic bool
Indicates if o text must be displayed in italic (e.g., extension de vogal).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text of the syllable.
final
type SyllableType
Type de conexão of the syllable (hifenização).
final

Methods

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