getBitmapDatas method

List<BitmapData> getBitmapDatas(
  1. String namePrefix
)

Get a list of BitmapDatas of frames whose names starts with namePrefix.

Implementation

List<BitmapData> getBitmapDatas(String namePrefix) => frames
    .where((f) => f.name.startsWith(namePrefix))
    .map((f) => f.bitmapData)
    .toList();