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

Manually select platform #21

Closed
Ali-Azmoud opened this issue Jan 5, 2019 · 2 comments
Closed

Manually select platform #21

Ali-Azmoud opened this issue Jan 5, 2019 · 2 comments

Comments

@Ali-Azmoud
Copy link

Hi

Is there anyway to manually select the platform ? so that PlatformScaffold and other platform-related widgets display the correct widget

I don't have a mac laptop and want to debug my ios-style app on my android then compile it on a mac device

@aqwert
Copy link
Collaborator

aqwert commented Jan 5, 2019

Sure, If you are on the Android emulator you can call changeToCupertinoPlatform() right at the beginning of the app to render the Cupertino widgets. Or if you look at the example it is also done on a button press

@aqwert
Copy link
Collaborator

aqwert commented Jan 17, 2019

I am closing this issue for now, unless you continue to have an issue in this area

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants