SimaiPlayerController class

Inheritance

Constructors

SimaiPlayerController({required MaiChart chart, Source? audioSource, ImageProvider<Object>? backgroundImageProvider, double initialChartTime = 0.0})

Properties

approachTime double
no setter
audioSource ↔ Source?
getter/setter pair
backgroundImageProvider ImageProvider<Object>?
getter/setter pair
backgroundMode SimaiBackgroundMode
getter/setter pair
chart MaiChart
final
chartInfo SimaiChartInfo
no setter
chartTime double
no setter
effectiveMusicOffsetSeconds double
no setter
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
highlightExNotes bool
getter/setter pair
hitSoundEnabled bool
getter/setter pair
hitSoundOffsetMs int
getter/setter pair
initialChartTime double
final
isFullScreen bool
getter/setter pair
isPlaying bool
no setter
mirrorMode SimaiMirrorMode
getter/setter pair
musicOffsetMs int
getter/setter pair
musicVolume double
getter/setter pair
onToggleFullScreen VoidCallback?
getter/setter pair
pinkSlideStar bool
getter/setter pair
playbackRate double
getter/setter pair
rotateSlideStar bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double
getter/setter pair
standardBreakSlide bool
getter/setter pair
title String?
getter/setter pair
totalDurationSnapshot double
no setter

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
computeCurrentMeasureStartTime(double time) double
computeNextMeasureTime(double time) double
computeNextNoteTime(double time) double
computePreviousMeasureTime(double time) double
computePreviousNoteTime(double time) double
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
override
nextMeasure() Future<void>
nextNote() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
pause() → void
play() → void
previousMeasure() Future<void>
previousNote() Future<void>
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
replayMeasure() Future<void>
seek(double time, {bool syncAudio = true}) Future<void>
togglePlayPause() → void
toString() String
A string representation of this object.
inherited

Operators

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