cmdrootaccess / another-flushbar

A flexible widget for user notification. Customize your text, button, duration, animations and much more. For Android devs, it is made to replace Snackbars and Toasts.
https://pub.dev/packages/another_flushbar
MIT License
145 stars 89 forks source link

[Question/Bug] leftBarIndicatorColor and borderRadius #29

Closed fernando-s97 closed 3 years ago

fernando-s97 commented 3 years ago

Describe the bug

When using leftBarIndicatorColor property alongside borderRadius, the left side doesn't respect the borderRadius property. Is it correct? If so, what about implementing an option to forceBorderRadius?

Paste relevant code

Flushbar(
      message: message,
      icon: const Icon(Icons.warning, color: Colors.red),
      leftBarIndicatorColor: Colors.red,
      duration: _defaultDuration,
      margin: _defaultMargin,
      borderRadius: _defaultBorderRadius,
    ).show(context);

Screenshots

image

cmdrootaccess commented 3 years ago

fixed in 1.10.21 sss