简体   繁体   中英

'Remove widget' option unavailable for Flutter using 'Alt+Enter' shortcut in Android Studio

I am very used to using the 'Alt+Enter' on a widget to modify it, more often to wrap something around it or removing it in Android Studio. However, today I noticed there is no 'remove widget' option. The rest of the options are still available. Is it the same for everyone? ( previously once I think it got removed). I am using Flutter stable version 2.0.5, Dart version 2.12.3 and Android Studio 4.1.3. Any help would be appreciated.

it is still available, but sometimes android studio can't figure out the child in complex widget,

try it in simple container with child.. and it should appear.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM