stryder-dev / flutter_platform_widgets

Target the specific design of Material for Android and Cupertino for iOS widgets through a common set of Platform aware widgets
MIT License
1.59k stars 174 forks source link

Update example environment version, Add PlatformCheckbox, PlatformRadio, PlatformDropdownButton #414

Closed bookshiyi closed 1 year ago

bookshiyi commented 1 year ago

Thanks

bookshiyi commented 1 year ago

Although Flutter natively provides the API for checkbox.adaptive and radio.adaptive to achieve automatic style conversion of widgets on different platforms, in order to maintain the code consistency of flutter_platform_widget, I still submitted this pull request.

aqwert commented 1 year ago

Yes. probably a good idea. Also there are now SwitchListTile.adaptive, RadioListTile.adaptive and CheckboxListTile.adaptive

bookshiyi commented 1 year ago

I have separated into three PRs #417 #418 #419 . Thanks.