Space class

Representa um espaço vazio com duração definida, correspondendo ao elemento <space> do MEI v5.

Um <space> ocupa tempo no compasso sem produzir som. É usado para alinhar vozes ou criar pausas invisíveis em notação específica.

measure.add(Space(duration: const Duration(DurationType.quarter)));
Inheritance

Constructors

Space({required Duration duration})

Properties

duration Duration
Duração do espaço (tempo que ocupa no compasso).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xmlId String?
Identificador único MEI (xml:id). Opcional; necessário para elementos referenciados por outros via atributos de ligação do MEI v5.
getter/setter pairinherited

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