newList method
Constructs a new list.
If growable
is false and the kind is either IntKind or FloatKind,
the method returns a TypedData object such as Uint32List.
Implementation
@override
List<double> newList(int length, {bool growable = true}) {
if (!growable) {
return _typedDataFactory(length);
}
return super.newList(length, growable: growable);
}