TesteurManiak / smart_banner

Display a smart banner on top of the screen of your Flutter Web application.
https://pub.dev/packages/smart_banner
MIT License
9 stars 1 forks source link

BannerStyle adaptive has no button padding #1

Closed sawirricardo closed 1 year ago

sawirricardo commented 1 year ago

Hi, thanks for the package. Is there a way to customize the button?

TesteurManiak commented 1 year ago

Hi, could you be more explicit please. What are you trying to do ? What is blocking you in the package API ?

sawirricardo commented 1 year ago

I tested the web running on macos, and the button styling is off since it's a macOS (different from iOS). That's not handled yet.

TesteurManiak commented 1 year ago

Yeah currently the package only implement the specs for Android and iOS. I'm not sure how the banner should be designed with a desktop view 🤔

sawirricardo commented 1 year ago

Probably add detection for .macOS, should just use the iOS?

Ive done this through in userland

TesteurManiak commented 1 year ago

Sorry for the wait @sawirricardo, I've published a fix on the repo to detect when the browser is running on the MacOS platform and display the iOS style banner. I'll publish an update of the package as soon as I can.