On Apr 12, 2:10 pm, afsina <
ahme...@gmail.com> wrote:
> On Apr 12, 2:47 pm, Allan MacDonald <
amacdon...@cgsinc.ca> wrote:
>
> > I believe you can increase the size of a List, and each additional element
> > will be assigned null by default. In this case, length would include all
> > null values as well.
>
> > Allan
>
> Indeed, from the documentation Dart Lists seems like a growable array.
> There is no dictinction of length and capacity. Every insertion makes
> the array length 1 more. And you can explicitly extend the length.
> This gives more control in some cases but a distinction of length and
> capacity would prevent some bugs (NPEs).
>
length; Otherwise it is growable. (Explained here: