Dropdown Focus not changing - flutter

I am using flutter for web. When I click on the dropdown but do not select any options, then when I click outside the dropdown menu, the focus is still there. But I have used Gesture Detector to change the focus by this-
onTap: () {
FocusManager.instance.primaryFocus?.unfocus();
},
So whenever I click outside the dropdown, the focus needs to be changed. But it is not functioning.
Flutter doctor output:
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.1)
[✓] VS Code (version 1.67.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!

Related

DevTools memory tab has no profile tab

The guide says there should be a Profile tab inside the Memory tab, but it's missing from both the VSCode version and Chrome browser version. No Diff or Trace tab either. This is a iOS app running in profile mode. What can I do to make it show?
[✓] Flutter (Channel stable, 3.3.3, on macOS 12.6 21G115 darwin-x64, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1) [✓] VS Code (version 1.74.0)
[✓] HTTP Host Availability
• No issues found!

verifying "dyld_sim_shared_cache_arm64" when debugging flutter app in macOS

Today when I start debugging the flutter(2.10.3) app, the macOS Monerey 12.3 shows info like this:
verifying "dyld_sim_shared_cache_arm64"
and the verify popup window could not complete for hours. It look like this:
why show this window? what should I do to fix it? This is the flutter env:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.3.1 21E258 darwin-arm, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio (version 2021.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
[✓] IntelliJ IDEA Community Edition (version 2021.3.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
[✓] VS Code (version 1.66.0)
[✓] Connected device (3 available)
[!] HTTP Host Availability
update_dyld_shared_cache is depreciate on macOS Monterey (my case 12.3.1). It makes flutter (2.10.4) cannot update. Let wait for new version of flutter to not request update.

Failed to launch DevTools: TimeoutException after 0:00:10.000000: Future not completed

The flutter tools aren't launching when I press the button on Android Studio, and I also get a warning when I use flutter run.
I've tried flutter clean, but this still happens on both the terminal and Android Studio flutter plugin.
flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.3 20D91 darwin-x64, locale
en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Android Studio
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)
• No issues found!
Does anyone have suggestions on how to fix this?
Rebooting my computer fixed it.

Can't reset FormBuilder()

i have a FormBuilder() which contains :
FormBuilderChoiceChip()
2 FormBuilderTextField()
and a Confirm and reset buttons
When i press the reset button, it resets only FormBuilderChoiceChip(), and when i removed it it works (resets the 2 FormBuilderTextFields).
I tried replacing FormBuilderChoiceChip() by a FormBuilderDropDown(), same thing.
reset function :
void _reset() {
_formKey.currentState.reset();
}
flutter doctor :
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.44.2)
[✓] Connected device (1 available)

Initial screen is badly displayed on startup

With this 1.2.1 version I get a strange first screen on my iPhone
(cf. attached image).
Any idea ?
[✓] Flutter (Channel beta, v1.2.1, on Mac OS X 10.14.2 18C54, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.31.0)
[✓] Connected device (1 available)
I had the same issue (only on iOS) on production app... After hours of trying to find the solution, experimenting with Widgets combinations, devices etc. appeared, that the problem is the Flutter version.
In fact, I have no idea why is that happening and where the problem is, but downgrading Flutter (Channel beta) to version 1.1.8 solved the problem.
My current Flutter version:
[✓] Flutter (Channel beta, v1.1.8, on Mac OS X 10.13.6 17G4015, locale pl-PL)
[✓] Android toolchain - develop for Android devices (Android SDK version 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
[✓] VS Code (version 1.30.2)
[✓] Connected device (1 available)