Repository navigation
[proposal] Allow changing the textStyle of TextField's menu #58512
Description
Activity
Thanks for supporting me @iapicca
I think, it‘s no duplicate though. The issue you‘ve referenced is about custom menu items.
I‘ve found a maybe better matching issue and asked about my problem and got the answer to open up a new issue (#35826 (comment)).This issue here is not about custom controls, but the existing controls overflowing and looking ugly because the font size seems to have no boundaries (while the native menu items have a minimum and maximum font size).
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Jun 5, 2020 The pull request was not about the font size.
I believe the font size of the hardcoded Flutter menu needs bounds (a minimum and maximum font size, like the native iOS menu).
Here is the information (flutter doctor -v is pretty long though):
Code samples
most minimal:
import 'package:flutter/material.dart'; void main() => runApp(MaterialApp(home: Scaffold(body: Center(child: TextField()))));more verbose:
import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) => MaterialApp(home: MyHomePage()); } class MyHomePage extends StatefulWidget { MyHomePage({Key key}) : super(key: key); @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( body: Center( child: TextField(), ), ); } }flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, 1.19.0-4.0.pre.73, on Mac OS X 10.15.5 19F101, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 11.5) [✓] Chrome - develop for the web [✓] Android Studio (version 3.6) [✓] VS Code (version 1.45.1) [✓] Connected device (3 available) • No issues found!flutter doctor -v
[ +148 ms] executing: [/Users/achim/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +52 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] 94b7ff241e6e5445b7f30215a777eb4971311797 [ ] executing: [/Users/achim/flutter/] git tag --contains HEAD [ +206 ms] Exit code 0 from: git tag --contains HEAD [ +2 ms] executing: [/Users/achim/flutter/] git describe --match *.*.*-*.*.pre --first-parent --long --tags [ +27 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags [ +1 ms] 1.19.0-3.0.pre-73-g94b7ff241 [ +11 ms] executing: [/Users/achim/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [/Users/achim/flutter/] git ls-remote --get-url origin [ +10 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +70 ms] executing: [/Users/achim/flutter/] git rev-parse --abbrev-ref HEAD [ +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ +6 ms] executing: sw_vers -productName [ +16 ms] Exit code 0 from: sw_vers -productName [ ] Mac OS X [ ] executing: sw_vers -productVersion [ +14 ms] Exit code 0 from: sw_vers -productVersion [ ] 10.15.5 [ ] executing: sw_vers -buildVersion [ +13 ms] Exit code 0 from: sw_vers -buildVersion [ ] 19F101 [ +41 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +9 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +6 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ +9 ms] executing: [/Users/achim/flutter/] git rev-parse --abbrev-ref HEAD [ +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ ] executing: [/Users/achim/flutter/] git fetch https://github.com/flutter/flutter.git --tags -f [+1464 ms] Exit code 0 from: git fetch https://github.com/flutter/flutter.git --tags -f [ ] From https://github.com/flutter/flutter * branch HEAD -> FETCH_HEAD [ +1 ms] executing: [/Users/achim/flutter/] git tag --contains HEAD [ +206 ms] Exit code 0 from: git tag --contains HEAD [ ] executing: [/Users/achim/flutter/] git describe --match *.*.*-*.*.pre --first-parent --long --tags [ +26 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags [ +1 ms] 1.19.0-3.0.pre-73-g94b7ff241 [ +16 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ +9 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$A PP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar: $APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$AP P_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVM Version":"1.8*,1.8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass ":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio3.6 ","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.p ath":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-192.7142.36.3 6.6392135","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleType IconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBund leTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitc hing":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHigh ResolutionCapable":true,"CFBundleShortVersionString":"3.6","NSMicrophoneUsageDes cription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio" ,"NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTy peRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}], "CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"pu blic.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVe rsion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 3.6, build AI-192.7142.36.36.6392135. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."} [ +9 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +77 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +21 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ +9 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$A PP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar: $APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$AP P_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVM Version":"1.8*,1.8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass ":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio3.6 ","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.p ath":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-192.7142.36.3 6.6392135","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleType IconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBund leTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitc hing":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHigh ResolutionCapable":true,"CFBundleShortVersionString":"3.6","NSMicrophoneUsageDes cription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio" ,"NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTy peRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}], "CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"pu blic.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVe rsion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 3.6, build AI-192.7142.36.36.6392135. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."} [ +7 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +80 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +8 ms] executing: [/Users/achim/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%ar [ +15 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%ar [ ] 9 hours ago [ +24 ms] executing: /Users/achim/flutter/bin/cache/artifacts/engine/android-arm-profile/darwin-x64/g en_snapshot [ +11 ms] Exit code 255 from: /Users/achim/flutter/bin/cache/artifacts/engine/android-arm-profile/darwin-x64/g en_snapshot [ ] At least one input is required Usage: gen_snapshot [<vm-flags>] [<options>] <dart-kernel-file> Common options: --help Display this message (add --verbose for information about all VM options). --version Print the VM version. To create a core snapshot: --snapshot_kind=core --vm_snapshot_data=<output-file> --isolate_snapshot_data=<output-file> <dart-kernel-file> To create an AOT application snapshot as assembly suitable for compilation as a static or dynamic library: --snapshot_kind=app-aot-assembly --assembly=<output-file> [--strip] [--obfuscate] [--save-debugging-info=<debug-filename>] [--save-obfuscation-map=<map-filename>] <dart-kernel-file> To create an AOT application snapshot as an ELF shared library: --snapshot_kind=app-aot-elf --elf=<output-file> [--strip] [--obfuscate] [--save-debugging-info=<debug-filename>] [--save-obfuscation-map=<map-filename>] <dart-kernel-file> AOT snapshots can be obfuscated: that is all identifiers will be renamed during compilation. This mode is enabled with --obfuscate flag. Mapping between original and obfuscated names can be serialized as a JSON array using --save-obfuscation-map=<filename> option. See dartbug.com/30524 for implementation details and limitations of the obfuscation pass. [ +11 ms] java -version [ +9 ms] executing: /usr/bin/xcode-select --print-path [ +7 ms] Exit code 0 from: /usr/bin/xcode-select --print-path [ ] /Applications/Xcode.app/Contents/Developer [ +1 ms] executing: /usr/bin/xcodebuild -version [ +113 ms] Exit code 0 from: /usr/bin/xcodebuild -version [ ] Xcode 11.5 Build version 11E608c [ +2 ms] executing: /usr/bin/xcrun clang [ +17 ms] Exit code 1 from: /usr/bin/xcrun clang [ ] clang: error: no input files [ ] executing: /usr/bin/xcrun simctl list [ +103 ms] Exit code 0 from: /usr/bin/xcrun simctl list [ +1 ms] == Device Types == iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s) iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5) iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s) iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus) iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6) iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s) iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus) iPhone SE (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE) iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7) iPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus) iPhone 8 (com.apple.CoreSimulator.SimDeviceType.iPhone-8) iPhone 8 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus) iPhone X (com.apple.CoreSimulator.SimDeviceType.iPhone-X) iPhone Xs (com.apple.CoreSimulator.SimDeviceType.iPhone-XS) iPhone Xs Max (com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max) iPhone Xʀ (com.apple.CoreSimulator.SimDeviceType.iPhone-XR) iPhone 11 (com.apple.CoreSimulator.SimDeviceType.iPhone-11) iPhone 11 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro) iPhone 11 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max) iPhone SE (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-) iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2) iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina) iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air) iPad mini 2 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-2) iPad mini 3 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-3) iPad mini 4 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-4) iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2) iPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-) iPad Pro (12.9-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro) iPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-) iPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-gene ration-) iPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-) iPad (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-) iPad (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-) iPad Pro (11-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-) iPad Pro (12.9-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-gene ration-) iPad Pro (11-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-genera tion-) iPad Pro (12.9-inch) (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-gene ration-) iPad mini (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-) iPad Air (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-) Apple TV (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p) Apple TV 4K (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K) Apple TV 4K (at 1080p) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p) Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm) Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm) Apple Watch Series 2 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm) Apple Watch Series 2 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm) Apple Watch Series 3 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm) Apple Watch Series 3 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm) Apple Watch Series 4 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm) Apple Watch Series 4 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm) Apple Watch Series 5 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm) Apple Watch Series 5 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm) == Runtimes == iOS 13.5 (13.5 - 17F61) - com.apple.CoreSimulator.SimRuntime.iOS-13-5 tvOS 13.4 (13.4 - 17L255) - com.apple.CoreSimulator.SimRuntime.tvOS-13-4 watchOS 6.2 (6.2.1 - 17T531) - com.apple.CoreSimulator.SimRuntime.watchOS-6-2 == Devices == -- iOS 13.5 -- iPhone SE (1st generation) (F0E22151-FDBD-4118-BADA-8FABF3706425) (Shutdown) iPhone 8 Plus (942E2DBF-EE37-4B02-8193-8B781911D7B5) (Shutdown) iPhone X (46F7181C-1638-440A-8107-6E227FDBF156) (Shutdown) iPhone 11 Pro Max (44DB4424-4FA2-4F3B-9FDA-D12040258A32) (Shutdown) iPad Pro (12.9-inch) (2nd generation) (302B0A4A-9F46-4A09-9FD0-8450EBC82943) (Shutdown) iPad Pro (12.9-inch) (3rd generation) (3C6444D0-AC34-4454-BE40-EF176F146774) (Shutdown) -- tvOS 13.4 -- -- watchOS 6.2 -- Apple Watch Series 4 - 40mm (FAF9C578-2B1A-46AA-B929-BFDD3E0AE1E0) (Shutdown) Apple Watch Series 4 - 44mm (27D66E1E-E112-4319-8F90-1C80E3CC76EC) (Shutdown) -- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-13-4 -- iPhone 6s Plus (80BD4DE9-7707-4250-9149-C150AACF714C) (Shutdown) (unavailable, runtime profile not found) iPhone SE (46E35DE1-D0BE-43B6-ADCA-C0CDFFB1A77D) (Shutdown) (unavailable, runtime profile not found) iPhone X (85B05F5C-4F52-48EB-87EA-510FA58E08DD) (Shutdown) (unavailable, runtime profile not found) iPhone Xs Max (D58D097A-DDDA-4B9B-BD6A-A9C95A8708C5) (Shutdown) (unavailable, runtime profile not found) iPad Pro 12.9 2nd gen (5542AD48-2E18-4C2D-AD75-AED36742D493) (Shutdown) (unavailable, runtime profile not found) iPad Pro 12.9 3rd gen (2EA2D92F-4C22-4ECC-A046-CC62D2E1873E) (Shutdown) (unavailable, runtime profile not found) == Device Pairs == [ +11 ms] executing: which pod [ +113 ms] executing: /Users/achim/Library/Android/sdk/platform-tools/adb devices -l [ +4 ms] executing: xcrun --find xcdevice [ +9 ms] Exit code 0 from: xcrun --find xcdevice [ ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice [ ] executing: xcrun xcdevice list --timeout 2 [ +4 ms] /usr/bin/xcrun simctl list --json devices [ ] executing: /usr/bin/xcrun simctl list --json devices [ +21 ms] [✓] Flutter (Channel master, 1.19.0-4.0.pre.73, on Mac OS X 10.15.5 19F101, locale en-US) [ +1 ms] • Flutter version 1.19.0-4.0.pre.73 at /Users/achim/flutter [ ] • Framework revision 94b7ff241e (9 hours ago), 2020-06-04 18:53:00 -0700 [ ] • Engine revision 859d892f1f [ ] • Dart version 2.9.0 (build 2.9.0-13.0.dev 54adfeb93f) ⣽[ +47 ms] executing: pod --version [ +3 ms] List of devices attached ⣻[ +64 ms] executing: /Users/achim/Library/Android/sdk/tools/bin/sdkmanager --licenses [ +38 ms] { "devices" : { "com.apple.CoreSimulator.SimRuntime.tvOS-13-4" : [ ], "com.apple.CoreSimulator.SimRuntime.watchOS-6-2" : [ { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ FAF9C578-2B1A-46AA-B929-BFDD3E0AE1E0\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/FAF9C578-2B1A- 46AA-B929-BFDD3E0AE1E0", "udid" : "FAF9C578-2B1A-46AA-B929-BFDD3E0AE1E0", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-4 0mm", "state" : "Shutdown", "name" : "Apple Watch Series 4 - 40mm" }, { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 27D66E1E-E112-4319-8F90-1C80E3CC76EC\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/27D66E1E-E112- 4319-8F90-1C80E3CC76EC", "udid" : "27D66E1E-E112-4319-8F90-1C80E3CC76EC", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-4 4mm", "state" : "Shutdown", "name" : "Apple Watch Series 4 - 44mm" } ], "com.apple.CoreSimulator.SimRuntime.iOS-13-4" : [ { "availabilityError" : "runtime profile not found", "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 80BD4DE9-7707-4250-9149-C150AACF714C\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/80BD4DE9-7707- 4250-9149-C150AACF714C", "udid" : "80BD4DE9-7707-4250-9149-C150AACF714C", "isAvailable" : false, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus", "state" : "Shutdown", "name" : "iPhone 6s Plus" }, { "availabilityError" : "runtime profile not found", "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 46E35DE1-D0BE-43B6-ADCA-C0CDFFB1A77D\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/46E35DE1-D0BE- 43B6-ADCA-C0CDFFB1A77D", "udid" : "46E35DE1-D0BE-43B6-ADCA-C0CDFFB1A77D", "isAvailable" : false, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE", "state" : "Shutdown", "name" : "iPhone SE" }, { "availabilityError" : "runtime profile not found", "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 85B05F5C-4F52-48EB-87EA-510FA58E08DD\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/85B05F5C-4F52- 48EB-87EA-510FA58E08DD", "udid" : "85B05F5C-4F52-48EB-87EA-510FA58E08DD", "isAvailable" : false, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-X", "state" : "Shutdown", "name" : "iPhone X" }, { "availabilityError" : "runtime profile not found", "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ D58D097A-DDDA-4B9B-BD6A-A9C95A8708C5\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/D58D097A-DDDA- 4B9B-BD6A-A9C95A8708C5", "udid" : "D58D097A-DDDA-4B9B-BD6A-A9C95A8708C5", "isAvailable" : false, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max", "state" : "Shutdown", "name" : "iPhone Xs Max" }, { "availabilityError" : "runtime profile not found", "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 5542AD48-2E18-4C2D-AD75-AED36742D493\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/5542AD48-2E18- 4C2D-AD75-AED36742D493", "udid" : "5542AD48-2E18-4C2D-AD75-AED36742D493", "isAvailable" : false, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch--- 2nd-generation-", "state" : "Shutdown", "name" : "iPad Pro 12.9 2nd gen" }, { "availabilityError" : "runtime profile not found", "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 2EA2D92F-4C22-4ECC-A046-CC62D2E1873E\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/2EA2D92F-4C22- 4ECC-A046-CC62D2E1873E", "udid" : "2EA2D92F-4C22-4ECC-A046-CC62D2E1873E", "isAvailable" : false, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch--- 3rd-generation-", "state" : "Shutdown", "name" : "iPad Pro 12.9 3rd gen" } ], "com.apple.CoreSimulator.SimRuntime.iOS-13-5" : [ { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ F0E22151-FDBD-4118-BADA-8FABF3706425\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/F0E22151-FDBD- 4118-BADA-8FABF3706425", "udid" : "F0E22151-FDBD-4118-BADA-8FABF3706425", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE", "state" : "Shutdown", "name" : "iPhone SE (1st generation)" }, { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 942E2DBF-EE37-4B02-8193-8B781911D7B5\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/942E2DBF-EE37- 4B02-8193-8B781911D7B5", "udid" : "942E2DBF-EE37-4B02-8193-8B781911D7B5", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus", "state" : "Shutdown", "name" : "iPhone 8 Plus" }, { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 46F7181C-1638-440A-8107-6E227FDBF156\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/46F7181C-1638- 440A-8107-6E227FDBF156", "udid" : "46F7181C-1638-440A-8107-6E227FDBF156", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-X", "state" : "Shutdown", "name" : "iPhone X" }, { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 44DB4424-4FA2-4F3B-9FDA-D12040258A32\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/44DB4424-4FA2- 4F3B-9FDA-D12040258A32", "udid" : "44DB4424-4FA2-4F3B-9FDA-D12040258A32", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max", "state" : "Shutdown", "name" : "iPhone 11 Pro Max" }, { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 302B0A4A-9F46-4A09-9FD0-8450EBC82943\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/302B0A4A-9F46- 4A09-9FD0-8450EBC82943", "udid" : "302B0A4A-9F46-4A09-9FD0-8450EBC82943", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch--- 2nd-generation-", "state" : "Shutdown", "name" : "iPad Pro (12.9-inch) (2nd generation)" }, { "dataPath" : "\/Users\/achim\/Library\/Developer\/CoreSimulator\/Devices\/ 3C6444D0-AC34-4454-BE40-EF176F146774\/data", "logPath" : "\/Users\/achim\/Library\/Logs\/CoreSimulator\/3C6444D0-AC34- 4454-BE40-EF176F146774", "udid" : "3C6444D0-AC34-4454-BE40-EF176F146774", "isAvailable" : true, "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch--- 3rd-generation-", "state" : "Shutdown", "name" : "iPad Pro (12.9-inch) (3rd generation)" } ] } } ⣯[+1190 ms] 1.9.1 [ +253 ms] [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [ ] • Android SDK at /Users/achim/Library/Android/sdk [ ] • Platform android-29, build-tools 29.0.3 [ ] • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java [ ] • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [ ] • All Android licenses accepted. [ ] [✓] Xcode - develop for iOS and macOS (Xcode 11.5) [ ] • Xcode at /Applications/Xcode.app/Contents/Developer [ ] • Xcode 11.5, Build version 11E608c [ ] • CocoaPods version 1.9.1 [ ] [✓] Chrome - develop for the web [ ] • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [ +1 ms] [✓] Android Studio (version 3.6) [ ] • Android Studio at /Applications/Android Studio.app/Contents [ ] • Flutter plugin version 46.0.1 [ ] • Dart plugin version 192.8052 [ ] • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [ +1 ms] [✓] VS Code (version 1.45.1) [ ] • VS Code at /Applications/Visual Studio Code.app/Contents [ ] • Flutter extension version 3.9.1 ⡿[+1190 ms] [ { "simulator" : true, "operatingSystemVersion" : "6.2.1 (17T531)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch4,3", "identifier" : "FAF9C578-2B1A-46AA-B929-BFDD3E0AE1E0", "architecture" : "i386", "modelUTI" : "com.apple.watch-series4-1", "modelName" : "Apple Watch Series 4 - 40mm", "name" : "Apple Watch Series 4 - 40mm" }, { "simulator" : true, "operatingSystemVersion" : "13.5 (17F61)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone8,4", "identifier" : "F0E22151-FDBD-4118-BADA-8FABF3706425", "architecture" : "x86_64", "modelUTI" : "com.apple.iphone-se-a1662-aeb1b8", "modelName" : "iPhone SE (1st generation)", "name" : "iPhone SE (1st generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.5 (17F61)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone10,5", "identifier" : "942E2DBF-EE37-4B02-8193-8B781911D7B5", "architecture" : "x86_64", "modelUTI" : "com.apple.iphone-8-plus-2", "modelName" : "iPhone 8 Plus", "name" : "iPhone 8 Plus" }, { "simulator" : true, "operatingSystemVersion" : "13.5 (17F61)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone10,6", "identifier" : "46F7181C-1638-440A-8107-6E227FDBF156", "architecture" : "x86_64", "modelUTI" : "com.apple.iphone-x-1", "modelName" : "iPhone X", "name" : "iPhone X" }, { "simulator" : true, "operatingSystemVersion" : "13.5 (17F61)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad8,5", "identifier" : "3C6444D0-AC34-4454-BE40-EF176F146774", "architecture" : "x86_64", "modelUTI" : "com.apple.ipad-pro-12point9-1", "modelName" : "iPad Pro (12.9-inch) (3rd generation)", "name" : "iPad Pro (12.9-inch) (3rd generation)" }, { "simulator" : true, "operatingSystemVersion" : "13.5 (17F61)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPhone12,5", "identifier" : "44DB4424-4FA2-4F3B-9FDA-D12040258A32", "architecture" : "x86_64", "modelUTI" : "com.apple.iphone-11-pro-max-1", "modelName" : "iPhone 11 Pro Max", "name" : "iPhone 11 Pro Max" }, { "simulator" : true, "operatingSystemVersion" : "13.5 (17F61)", "available" : true, "platform" : "com.apple.platform.iphonesimulator", "modelCode" : "iPad7,1", "identifier" : "302B0A4A-9F46-4A09-9FD0-8450EBC82943", "architecture" : "x86_64", "modelUTI" : "com.apple.ipad-pro-a1670-1", "modelName" : "iPad Pro (12.9-inch) (2nd generation)", "name" : "iPad Pro (12.9-inch) (2nd generation)" }, { "simulator" : true, "operatingSystemVersion" : "6.2.1 (17T531)", "available" : true, "platform" : "com.apple.platform.watchsimulator", "modelCode" : "Watch4,4", "identifier" : "27D66E1E-E112-4319-8F90-1C80E3CC76EC", "architecture" : "i386", "modelUTI" : "com.apple.watch-series4-1", "modelName" : "Apple Watch Series 4 - 44mm", "name" : "Apple Watch Series 4 - 44mm" }, { "modelCode" : "iPhone8,4", "simulator" : false, "modelName" : "iPhone SE (Model A1662, A1723, A1724)", "error" : { "code" : -13, "failureReason" : "", "underlyingErrors" : [ { "code" : 5, "failureReason" : "allowsSecureServices: 1. isConnected: 0. Platform: <DVTPlatform:0x7fe94981ee10:'com.apple.platform.ip honeos':<DVTFilePath:0x7fe94981ed90:'\/Application s\/Xcode.app\/Contents\/Developer\/Platforms\/iPho neOS.platform'>>. DTDKDeviceIdentifierIsIDID: 0", "description" : "Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode.", "recoverySuggestion" : "", "domain" : "com.apple.platform.iphoneos" } ], "description" : "Achims iPhone mini is not connected", "recoverySuggestion" : "Xcode will continue when Achims iPhone mini is connected.", "domain" : "com.apple.platform.iphoneos" }, "operatingSystemVersion" : "13.5 (17F75)", "identifier" : "69f6914f27d28e589d872fc132f9a8e55b374cb1", "platform" : "com.apple.platform.iphoneos", "architecture" : "arm64", "interface" : "usb", "available" : false, "name" : "Achims iPhone mini", "modelUTI" : "com.apple.iphone-se-a1662-aeb1b8" } ] [ +4 ms] Error: Achims iPhone mini is not connected. Xcode will continue when Achims iPhone mini is connected. (code -13) [ +55 ms] [✓] Connected device (3 available) [ ] • macOS • macOS • darwin-x64 • Mac OS X 10.15.5 19F101 [ ] • Web Server • web-server • web-javascript • Flutter Tools [ ] • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.61 [ ] • No issues found! [ +11 ms] "flutter doctor" took 5,365ms. [ +5 ms] Running shutdown hooks [ ] Shutdown hooks complete [ ] exiting with code 0FYI flutter doctor -v after downgrading to stable is much shorter
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale en-US) • Flutter version 1.17.3 at /Users/achim/flutter • Framework revision b041144f83 (19 hours ago), 2020-06-04 09:26:11 -0700 • Engine revision ee76268252 • Dart version 2.8.4 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/achim/Library/Android/sdk • Platform android-29, build-tools 29.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.5) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.5, Build version 11E608c • CocoaPods version 1.9.1 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 46.0.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code (version 1.45.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.9.1 [!] Connected device • Error: Achims iPhone mini is not connected. Xcode will continue when Achims iPhone mini is connected. (code -13) ! Doctor found issues in 1 category.- removedwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Jun 5, 2020 - changed the title
[-]How to change the textStyle of TextField's menu (Paste/ Select All ...)[/-][+][proposal] Allow changing the textStyle of TextField's menu[/+]on Jun 8, 2020 - addeda: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityand removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Jun 8, 2020 This isn't a full solution here, but with #73578 it will be possible to customize the text selection menu on iOS.
Thanks @justinmc, users could implement their own text now.
Don't you think that text overflowing by default at something basic as text selection controls should and could be avoided in Flutter?
This probably affects every Flutter iOS app with a text field and a font size larger than regular.
The few likes in this issue are maybe because few developers manually test this aspect of the UI, so this issue won't get priority anytime soon.Yes I absolutely agree. It's a major goal of mine to prevent text inconsistencies like this in Flutter. Currently my plan is to get #73578 merged and then see if/how that affects this issue, because it also changes some internals about how the menu is rendered. Then, it seems like we've also just discovered a regression in CupertinoButton which could be affecting this issue (#73681). That regression should get fixed, and then maybe it will fix this too. If not, then we should probably look into fixing this directly and implementing a min/max font size like you suggested.
If you or anyone else wants to take a closer look at this now though, I'm happy to review the PR.
I also encountered the same problem, tried the following solution, the problem still exists
buttonTheme:ButtonThemeData(minWidth: 5), textTheme: TextTheme(button: TextStyle(fontSize: 10)),On my iPhone X, there is no clipping any more (maybe it would clip on a smaller display, like the first iPhone SE).
But now the text is not vertically centered:
#69847 (comment)This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on May 18, 2022
For small iOS font sizes it looks weird (small letter spacing and small font size) and for large iOS font sizes the text doesn't fit.
Below are screenshots (iPhone X simulator) of the flutter app and the system menu for comparison.
iOS itself doesn't go below or above a certain font size, Flutter does (I probably just don't find where to set the correct textStyle?).
Largest (regular) iOS font size:


Normal iOS font size:


Smallest iOS font size (this image looks better because it's a close-up):

