Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No 'Remove Widget' option for flutter with Android Studio in Windows 10

Widget options (Alt+Enter) are quite helpful in Flutter Development with Android Studio. It helps us to Move, Wrap, Add, Remove or Swap Widgets automatically, basically makes our life easy.

Issue : In my IDE the 'Remove widget' option is missing. Check the image below for reference. With my fresh installation of Android Studio in two different computers, the option was never there since the beginning. I'm sure I never played or messed related configurations.

I know its not a big deal, but I'd love to have remove option as I play a lot with Widgets around and removing sometimes a pain.

Is there anything in configuration that I need to enable?

Android Studio : v3.5

enter image description here

like image 753
VipiN Negi Avatar asked Sep 12 '19 07:09

VipiN Negi


People also ask

How do I delete widgets on flutter?

If you still want to have the widgets in a list instead of just storing the controllers and without having to change much, you could remove the widgets like this: onPressed: (){ setState(() { controller. dispose(); textEditingControllers. remove(controller); textformFields.

How do you remove a widget from VS code?

On this particular Mac the shortcut is: Ctrl + Shift + R - Thank you folks!


1 Answers

The name has been changed from Remove Widget to Replace widget with its children but does the same thing.

UPDATE: Flutter has turned it back to Remove Widget.

like image 71
Maruf Hassan Avatar answered Oct 16 '22 19:10

Maruf Hassan