Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switchTile style is cupertino on mac even if you set platform to android #139

Open
andreadaoud opened this issue Aug 25, 2022 · 1 comment
Assignees
Labels
bug Something isn't working waiting for answer waiting for answer

Comments

@andreadaoud
Copy link

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:

image

But I expect it to be material style if platform is set to android.

@yadaniyil
Copy link
Contributor

@andreadaoud hey, thanks for letting me know, but I cannot reproduce the issue. Please give a link to a reproducible example

@yadaniyil yadaniyil added the waiting for answer waiting for answer label Jan 26, 2023
@yadaniyil yadaniyil added the bug Something isn't working label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for answer waiting for answer
Projects
None yet
Development

No branches or pull requests

3 participants