Use on OSX system.
Hi @wisit-phusi. Thanks for the report.
What version of IDEA and the plugin are you using? How recent is your Flutter? Could you run flutter doctor and paste in the output?
I use IntelliJ IDEA 2018.1.4, Android Studio 3.1.3, Flutter Plugin version 25.0.1 and Dart Plugin version 173.4700.
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.5 17F77, locale en-TH)
• Flutter version 0.5.1 at /Users/Wisit/flutter
• Framework revision c7ea3ca377 (4 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/Wisit/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.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_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.2
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 25.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.4)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 24.2.2
• Dart plugin version 181.4892.1
[✓] VS Code (version 1.24.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.13.2
[!] Connected devices
! No devices available
! Doctor found issues in 1 category.
Thanks!
@wisit-phusi : does it work unreliably or never?
Anything in the error log? (Help > Show Log in Finder)
/cc @scheglov
Do you have an example when it does not work?
I tried it now manually (and we have tests), and it still works.

I have tried to do this, But it still not appeared. I don’t sure that
I have ever disabled it before. Has its way to check that enable or disable?
@scheglov
This is an example when it does not work.

Do you get any Dart Quick Assists (Alt+Enter) from IDE?
Android Studio and Intellij
On Sat, 30 Jun 2561 at 01:21 Konstantin Scheglov notifications@github.com
wrote:
Do you get any Dart Quick Assists (Alt+Enter) from IDE?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter-intellij/issues/2448#issuecomment-401434924,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfHTeq68xZz_fU7hS0YBZaWDHugV5hhOks5uBnBAgaJpZM4U8aNz
.
Sorry, I see that you use Android Studio, but that's not what I asked.
Do you get any Dart specific assists / intentions at all?
I.e. maybe it is not a Flutter wrapping specific problem, but something fundamental with quick assists?
@wisit-phusi I thought you may disable Dart Quick Assists (Alt+Enter) from IDE.

To make sure, please open intellij/androidstudio setting page. In search text book type assistant.
Then check in Editor -> Intentions -> You should checked Quick assist powered by the Dart Analysis Server..
Here is the screenshot for more detail.

@quangson91
Thanks, I have been able to use it already.
thank you very much I had the same issue occurred. So, I followed the above steps u said Then it works fine
in Android studio, when i close my widgets... there is no name in last brackets (name of the widget close)... i have suggest when i use alt+enter... so i dont know whats problem is!
thankForHelpMe
@wisit-phusi I thought you may disable
Dart Quick Assists (Alt+Enter) from IDE.
To make sure, please open intellij/androidstudio setting page. In search text book type
assistant.
Then check inEditor -> Intentions-> You should checkedQuick assist powered by the Dart Analysis Server..Here is the screenshot for more detail.
thanks,it really helps
It happens when you try to wrap a list of widgets like this:
.............
Expanded(
child: FlatButton(
onPressed: (){
playSound(5);
},
color: Colors.teal,
),
),
FlatButton(
onPressed: (){
playSound(6);
},
color: Colors.blue,
),
............
Here I just wrapped my first FlatButton widget with Expanded, now there is a red color box around my Expanded widget.

When I try to wrap my second FlatButton widget by Alt+Enter or Option+ Enter (mac), it will not work as the red box is still around my Expanded widget. In order yo get rid of it press Tab (once or twice-i_f you have a child entry_).
I don't think this is a bug, I guess this is how Android studio works.
*TL;DR: * This only happens if there is a red box around the newly wrapped Widget. To sort out press Tab (once or twice).
@wisit-phusi I thought you may disable
Dart Quick Assists (Alt+Enter) from IDE.
To make sure, please open intellij/androidstudio setting page. In search text book type
assistant.
Then check inEditor -> Intentions-> You should checkedQuick assist powered by the Dart Analysis Server..Here is the screenshot for more detail.
Thank you for solution. It 's work for me.
Hi everyone, I followed the aforementioned solution, but unfortunately it still doesn't work for me.
The problem with mine is that if i click on the widget, i get a yellow bulb appearing on the left hand side and i can go over with mouse and click on whatever widget I want. But this is extremely time consuming and annoying after a while, so i wanna do it with alt+ enter combination but then i get only suggestions for java. how am i suppose to fix this? could possibly someone help me for gods sake pls?


Whoever might have the same problem like I did can solve it by following:
### Solution I found later on: Open keyboard shortcuts menu and search after : Show context Actions, and then assign a key-value to this action :)
Thank you very much...
@wisit-phusi I thought you may disable
Dart Quick Assists (Alt+Enter) from IDE.
To make sure, please open intellij/androidstudio setting page. In search text book type
assistant.
Then check inEditor -> Intentions-> You should checkedQuick assist powered by the Dart Analysis Server..Here is the screenshot for more detail.
Thank you very much

hey bro i have same problem but in my case im use vscode..
can you help me to fix this?
i cant automatically add "refactor -> wrap with column"
thank youu
@ wisit-phusi achei que você pode desativar
Dart Quick Assists (Alt+Enter) from IDE.
Para ter certeza, abra a página de configuração do intellij / androidstudio. No tipo de livro de texto de pesquisa
assistant.
Em seguida, verifiqueEditor -> Intentions-> Você deve verificarQuick assist powered by the Dart Analysis Server..Aqui está a imagem para mais detalhes.
@ wisit-phusi achei que você pode desativar
Dart Quick Assists (Alt+Enter) from IDE.
Para ter certeza, abra a página de configuração do intellij / androidstudio. No tipo de livro de texto de pesquisa
assistant.
Em seguida, verifiqueEditor -> Intentions-> Você deve verificarQuick assist powered by the Dart Analysis Server..Aqui está a imagem para mais detalhes.
WOW! Thank You!
I'm having a similar issue. When I press ALT + Enter I get other options without "Wrap with a new widget' which I want to use here. Please can someone help me?
@ wisit-phusi Pensé que podrÃas desactivar
Dart Quick Assists (Alt+Enter) from IDE.
Para asegurarse, abra la página de configuración de intellij / androidstudio. En el tipo de libro de texto de búsqueda
assistant.
Luego regÃstreseEditor -> Intentions-> DeberÃa verificarloQuick assist powered by the Dart Analysis Server..Aquà está la captura de pantalla para más detalles.
Gracias colega tenia mucho tiempo esa duda :+1:
From the top navbar click on file -> settings -> intentions then search for ( your desired programming language and then check the option, it should work without restarting android studio
I'm having a similar issue. When I press ALT + Enter I get other options without "Wrap with a new widget' which I want to use here. Please can someone help me?
From the top navbar click on file -> settings -> intentions then search for ( your desired programming language and then check the option, it should work without restarting android studio
Most helpful comment
@wisit-phusi I thought you may disable

Dart Quick Assists (Alt+Enter) from IDE.To make sure, please open intellij/androidstudio setting page. In search text book type
assistant.Then check in
Editor -> Intentions-> You should checkedQuick assist powered by the Dart Analysis Server..Here is the screenshot for more detail.