Source class Null safety

The base class for all sources.

Synthizer docs

Inheritance
Mixed in types
Implementers

Constructors

Source(Context context)
Create a source.
Source.fromHandle(Synthizer synthizer, int pointer)
Create an instance from a handle value.

Properties

currentTime SynthizerDoubleProperty
The current Synthizer time.
read-only, inherited
filter SynthizerBiquadConfigProperty
Filter property.
read-only
filterDirect SynthizerBiquadConfigProperty
The filter direct property.
read-only
filterEffects SynthizerBiquadConfigProperty
The filter effects property.
read-only
gain SynthizerDoubleProperty
The gain for this object.
read-only, inherited
handle Pointer<syz_Handle>
The handle for this object.
late, final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isValid bool
Returns true if this object is still valid.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
suggestedAutomationTime SynthizerDoubleProperty
The suggested automation time.
read-only, inherited
synthizer Synthizer
The synthizer instance.
final, inherited

Methods

addGenerator(Generator generator) → void
Add a generator to this source.
addGenerators(Iterable<Generator> generators) → void
Add an iterator of generators to this source.
configDeleteBehavior({bool? linger, double? timeout}) → void
Configure delete behaviour for this object.
inherited
decreaseReferenceCount() → void
Decrease the reference count.
inherited
destroy() → void
Destroy this object.
@mustCallSuper, inherited
increaseReferenceCount() → void
Increase the reference count.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pause() → void
Pause this object.
inherited
play() → void
Play this object.
inherited
removeGenerator(Generator generator) → void
Remove a generator from this source.
removeGenerators(Iterable<Generator> generators) → void
Remove every generator in generators from this source.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
Used to compare two objects.
inherited