Skip to content

Growable list constructor #21406

Open
Open
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


What steps will clearly show the issue / need for enhancement?

  1. add 'growable' parameter to new List()
    2.
    3.

What is the current output?

  var list = new List()..length = 10;

What would you like to see instead?

  var list = new List(10, growable:true);

Please provide any additional information below.

  growable should be true in default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.core-nlibrary-coretype-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