AndreHaueisen / flushbar

Custom widget for Flutter
Other
1.01k stars 172 forks source link

LeftIndicatedColor is broken with borderRadius #146

Open novakma2 opened 4 years ago

novakma2 commented 4 years ago

Great plugin, however, there's an issue with leftIndicatedColor being probably on wrong layer, so its overflowing over the edges when using borderRadius param.

there's code

Flushbar(
          title: 'Děkujeme',
          messageText: Text(
            'Byl vám na emailovou adresu odeslán potvrzovací email',
            style: TextStyle(color: Colors.white),
          ),
          icon: Icon(
            Icons.sentiment_satisfied,
            color: Colors.white,
          ),
          leftBarIndicatorColor: Color.fromRGBO(29, 173, 235, 100),
          margin: EdgeInsets.all(8),
          borderRadius: 8,
        )..show(context);

there's screenshot

I will maybe try to fix it myself, when I will have some time.