Skip to content

sort order for the different sections #607

@devoncarew

Description

@devoncarew

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ontype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions