Array.fixed(int length, {double? initialValue}) { if (initialValue != null) { l = List<double>.generate(length, (i) => initialValue); } else { l = List<double>.filled(length, 0.0); } }