I'm working with Flutter and Android Studio. I am trying to block *ahem* Group some line of codes so that I can just hide it by clicking the plus icon on the left hand side.
How to group a line of codes as a single block in Android Studio and/or Flutter?
If I am not getting you wrong , you are talking about The Code Folding shortcuts in Android Studio. They allow us to fold Code Blocks & Region Blocks so we can have more fine grained control over what code we are looking at in any given moment. Have you checked these from official page:
For creating a region you can do this simply :
to open this
to close the region:
https://developer.android.com/studio/intro/keyboard-shortcuts
or Check this : https://proandroiddev.com/code-folding-in-android-studio-5d046517dadc