-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Issue description
When navigating between two CupertinoNavigationBar widgets, if the user has set the preferred text size to larger than the default size, the text shows with an overflow ellipsis during the animation.
See the following example:
https://user-images.githubusercontent.com/2319867/209760713-b667d9d7-a936-4a43-85e5-57f18e92b5f9.mp4
Expected results
No clipping, as demonstrated in this example of an equivalent SwiftUI app:
https://user-images.githubusercontent.com/2319867/209761230-6f3b7498-99ad-461f-a4a9-95402eb20df7.mp4
Steps to Reproduce
To reproduce this, clone the sample here:
https://github.com/timsneath/landmarks-flutter/tree/e17a132e93d55b1507fdcb4e77772b7507cd168a
Run in the simulator, and choose Features / Increase Preferred Text Size several times to increase the size. Now navigate back and forward between the two pages.
flutter doctor -v
[✓] Flutter (Channel master, 3.7.0-13.0.pre.88, on macOS 13.1 22C65 darwin-arm64, locale en-US)
• Flutter version 3.7.0-13.0.pre.88 on channel master at /Users/timsneath/flutter
• Upstream repository [email protected]:flutter/flutter.git
• Framework revision 0dc973955d (8 hours ago), 2022-12-27 16:26:19 -0500
• Engine revision 6e6a6538f9
• Dart version 3.0.0 (build 3.0.0-65.0.dev)
• DevTools version 2.20.0
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14B47b
• CocoaPods version 1.11.3