StaticMatrix<T> class

A Fixed size matrix containing values of type T

Available Extensions

Constructors

StaticMatrix({required int height, required int width, required T defaultValue})
Create a static matrix of specified size
StaticMatrix.fromList(List<List<T>> matrix)
Create a StaticMatrix from List
factory

Properties

data List<List<T>>
Pixels matrix
final
hashCode int
The hash code for this object.
no setterinherited
height int
Matrix height
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Matrix width
final

Methods

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
operator [](int index) List<T>
Override [] operator for direct access to data