AndreHaueisen / flushbar

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

User Configurable _messageTopMargin #147

Open rayliverified opened 4 years ago

rayliverified commented 4 years ago

Describe the bug _messageTopMargin is hardcoded to 6.0. Allow this value to be user configurable.

Paste relevant code _messageTopMargin = _isTitlePresent ? 6.0 : widget.padding.top;

Solution There are two solutions:

Please let me know what you think. I'm happy to submit a PR!