MyTicker class
A custom TickerProvider implementation for the voice controller.
This class provides the necessary functionality for controlling the voice playback. It implements the TickerProvider interface, allowing it to create Ticker objects that can be used to schedule animations or other periodic tasks.
Example usage:
VoiceController voiceController = VoiceController();
voiceController.start();
voiceController.stop();
This class extends TickerProvider and provides a custom ticker for the voice controller. It can be used to create animations or perform actions at regular intervals.
- Inheritance
-
- Object
- TickerProvider
- MyTicker
- Implementers
Constructors
- MyTicker()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createTicker(
TickerCallback onTick) → Ticker -
Creates a new ticker.
override
-
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