amugofjava / anytime_podcast_player

Simple, easy to use Podcast player app written in Flutter and Dart.
BSD 3-Clause "New" or "Revised" License
377 stars 99 forks source link

Add app setting to force-use material design on all platforms #42

Closed erdemyerebasmaz closed 2 years ago

erdemyerebasmaz commented 3 years ago

This PR addresses https://github.com/amugofjava/anytime_podcast_player/issues/41

useMaterialDesign option is added to AppSettings to force-use Material design on all platforms.

amugofjava commented 2 years ago

Hi @erdemyerebasmaz,

I think it should be possible to force Material Design without introducing a new flag. If you set platform: TargetPlatform.android inside your theme this will switch it to Material Design. The two screenshots below were taken on iOS and I was able to switch style by setting this value. Please let me know if this works for you too.

erdemyerebasmaz commented 2 years ago

Hi @erdemyerebasmaz,

I think it should be possible to force Material Design without introducing a new flag. If you set platform: TargetPlatform.android inside your theme this will switch it to Material Design. The two screenshots below were taken on iOS and I was able to switch style by setting this value. Please let me know if this works for you too.

Yes, you are right! However, we need to apply theme values to certain widgets. I'll open a new PR.