Is it possible to specify literal typed_data in Dart? It would be very useful if one could do something like:
const Uint8List foo = const Uint8List [0, 1, 2, 3];
Is it possible to specify literal typed_data in Dart? It would be very useful if one could do something like:
const Uint8List foo = const Uint8List [0, 1, 2, 3];
This is not supported. There aren't too many advantages in Dart using const
anyway.
Uint8List
literal :)