AndreHaueisen / flushbar

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

Properly Create Main Button to Dismiss Flushbar and Properly Extends Flushbar #101

Open Peng-Qian opened 4 years ago

Peng-Qian commented 4 years ago

Hi Andre,

Thanks for your awesome plug-in, I am concerned about two tiny problems:

  1. I am trying to make the main button to dismiss flushbar. I found a way to achieve that, but the code structure will be really ugly, is there any proper way to do that?

  2. I create an object that extends the flushbar, but Android Studios prompt immutable problems: onStatusChanged and _flushbarRoute are not final.

renrique92 commented 4 years ago

Hello, can you share with me or tell me how do you achieve that? i make a close button but it don't dismiss it