flushbar
flushbar copied to clipboard
shouldIconPulse should be false by default.
Should icon pulse is a very specific behaviour. That is something that should be set to false by default. And only when needed it should be set to true by the developer.
final flushBar = Flushbar(
flushbarPosition: FlushbarPosition.TOP,
flushbarStyle: FlushbarStyle.GROUNDED,
duration: Duration(seconds:1),
animationDuration: Duration(seconds:1),
backgroundColor: ThemeColors.black,
icon: Icon(
Icons.check,
color: Colors.white,
),
shouldIconPulse: false,
messageText: Text(
message,
style: ThemeTextStyles.flushBarStyle,
),
);
It seems that shouldIconPulse: false
doesn't work in FlushbarHelper.