TrainAnimation class

Inheritance

Constructors

TrainAnimation({Duration speed = const Duration(milliseconds: 100), Duration? duration, bool loop = true, AnsiColor color = AnsiColor.yellow})

Properties

color → AnsiColor
finalinherited
duration → Duration?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
height → int
no setteroverride
isRunning → bool
no setterinherited
loop → bool
finalinherited
rowIndex ↔ int
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speed → Duration
finalinherited
totalRows ↔ int
getter/setter pairinherited

Methods

clearLine() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onStart() → void
inherited
onStop() → void
inherited
start() → void
inherited
stop() → void
inherited
stopWithoutClearing() → void
inherited
tick() → void
override
toString() → String
A string representation of this object.
inherited
write(String text) → void
inherited

Operators

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