是否可以在 Dart 中指定文字typed_data? 如果可以执行以下操作,那将非常有用:
const Uint8List foo = const Uint8List [0, 1, 2, 3];
不支持此操作。无论如何,Dart使用const
没有太多优势。