Use dart:typeddata instead of dart:scalarlist