switchTile style is cupertino on mac even if you set platform to android
andreadaoud opened this issue · 1 comments
andreadaoud commented
For example, on macOS:
body: SettingsList(
platform: DevicePlatform.android,
sections: [
SettingsSection(
title: Text('Options'),
tiles: [
SettingsTile.switchTile(
initialValue: false,
onToggle: (v) {},
title: Text("Switch"),
),
],
),
],
),
The switch tile will still show as cupertino style:
But I expect it to be material style if platform is set to android.
yadaniyil commented
@andreadaoud hey, thanks for letting me know, but I cannot reproduce the issue. Please give a link to a reproducible example