vi-k / bubble

Speech bubble for Flutter
BSD 2-Clause "Simplified" License
266 stars 57 forks source link

Massive reduce on performance when bubble nip is visible #4

Closed ahmedNY closed 4 years ago

ahmedNY commented 4 years ago
            ListView.builder(
              itemCount: 1000,
              itemBuilder: (BuildContext context, int index) {
                return Bubble(
                  nip: BubbleNip.rightTop,
                  child: Text('TEST MESSAGE BODY #$index'),
                );
              },      
vi-k commented 4 years ago

Thanks! I'll test it.

vi-k commented 4 years ago

It's Flutter.

vi-k commented 4 years ago

canvas.drawShadow() is very slow with unusual Path.

vi-k commented 4 years ago

It seems to be working fine now.

arthurpiccoli commented 4 years ago

I've created PR #10 that aims to improve perfomance in this situation

abdulrehmank7 commented 3 years ago

I have created the chat bubble using dart. You can easily modify according to your needs https://arkapp.medium.com/chat-bubble-widget-for-flutter-95d3bb82ddd8