You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm used to putting constants at the top of my source files - dartdoc generates the const section after classes. Do we have a sense for the ideal presentation order? Here's what we have currently.
For libraries:
classes
enums
properties
constants
functions
typedefs
exceptions
And for classes:
constructors
constants
static properties
static methods
properties
methods
operators
I think we should move constants up in the list, and possibly statics above ctors.
The text was updated successfully, but these errors were encountered:
Technically a constant is a property, so what about combining those two groups, and adding some visual indication on properties that happen to be declared as "const", maybe just the word "const"? Or at least co-locate those two groups (above "typedefs" is listed in between them).
I'm used to putting constants at the top of my source files - dartdoc generates the const section after classes. Do we have a sense for the ideal presentation order? Here's what we have currently.
For libraries:
And for classes:
I think we should move constants up in the list, and possibly statics above ctors.
The text was updated successfully, but these errors were encountered: