bubbleVoice static method

Widget bubbleVoice(
  1. int frame, {
  2. double width = 20,
  3. double height = 20,
  4. Color? color,
})

Implementation

static Widget bubbleVoice(int frame,
    {double width = 20, double height = 20, Color? color}) {
  return Image(
    gaplessPlayback: true,
    color: color,
    width: width,
    height: height,
    image: AssetImage('assets/images/voice_$frame.png', package: packageName),
    fit: BoxFit.fill,
  );
}