Reputation: 67
I want to categorised method in dart file like in Xcode/Swift we use //MARK: Some Custom String for Quick view .
Also is there any setting in Android Stduio where i can see all method defined in file.
Upvotes: 5
Views: 1589
Reputation: 5338
On Android Studio/IntelliJ you can wrap code with "//region .." and "//endregion":
//region name
~~~Code~~~
//endregion
Upvotes: 0
Reputation: 4826
It depends on the IDE you're using.
On Android Studio / IntelliJ you can use the region comments as explained here
Upvotes: 2