MatrixColumn class
Represents a single vertical column of falling characters in the matrix effect.
Constructors
- MatrixColumn({required double x, required double speed, required String chars, required int length, required double screenHeight})
- Creates a MatrixColumn.
Properties
-
characters
↔ List<
String> -
The list of characters currently displayed in this column.
getter/setter pair
- chars → String
-
The set of characters available to be displayed in the column.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
The number of characters in the column.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenHeight → double
-
The total height of the screen, used to reset the column when it goes off-screen.
final
- speed ↔ double
-
The falling speed of the column.
getter/setter pair
- x ↔ double
-
The horizontal position of the column.
getter/setter pair
- y ↔ double
-
The vertical position of the head of the column.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void - Updates the position and content of the column.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited