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

fix: add missing Cupertino localisations #137

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

HappyEmu
Copy link
Contributor

Even though the Knobs are based on Material Design, the Flutter SDK still instantiates Cupertino based widgets for example for the TextField widget, since it will display a CupertinoTextSelectionToolbarButton. This will lead to an Exception on iOS platforms when that toolbar needs to be rendered.

This PR fixes this exception by also providing the DefaultCupertinoLocalizations delegate.

@ookami-kb ookami-kb changed the title Add missing Cupertino localisations fix: add missing Cupertino localisations Apr 19, 2024
@ookami-kb ookami-kb merged commit 204e4d8 into ookami-kb:master Apr 19, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants