You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two ways to solve this problem,either through an ancestor MaterialApp (that automatically provides Localizations), or by creating your own Localizations widget.
In a situation like mine, we can solve it by method two.
Describe the bug
When used under the coupertino app, the login box cannot be displayed.
To Reproduce
CupertinoApp(
navigatorKey: navigatorKey,
...
)
Expected behavior
I hope it will have the same effect as using it in the material app.
Screenshots
Information (please complete the following information):
Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (2 months ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: