Skip to content

Separate "Methods" and "Extension Methods" sections #3941

Open
@loic-sharma

Description

@loic-sharma

Problem

Currently dart doc mixes methods and extension methods in the same "Methods" section (example).

If the Flutter framework introduced 50+ extension methods on the Widget type, it would flood the Widget's methods with extension methods. It becomes difficult to find Widget's "real" methods.

Solution

Similar to how the "Static Methods" have a separate section (example), we should consider adding a separate section for "Extension Methods"

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-web-designSomething a web designer interested in helping could do.type-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