Matthew McDonald

Results 14 issues of Matthew McDonald

In dart we have literal expressions for lists, sets, and maps. I propose that we also allow for expressions that generate iterables and streams. Take for example this code: ```dart...

feature

### Describe the problem There are a number of h4 headers in the language tour that would be nice to be able to quickly link to, and easily share a...

LanguageTour
p3-low
design
e1-hours
proposal

This was noticed by a user on stackoverflow: https://stackoverflow.com/questions/73778870/is-dartdocs-about-the-entry-of-isolate-spawn-wrong-or-something Currently the [documentation](https://api.dart.dev/stable/2.18.1/dart-isolate/Isolate/spawn.html) says: > The function must be a top-level function or a static method that can be called with...

area-documentation
type-bug

In dart there is support already for creating interfaces using a class modifier, but the existing support is weird and unintuitive. Consider this example: ```dart abstract interface class Vehicle {...

feature

Apologies if this is a duplicate, but I don't think there is an existing issue specifically on this topic. Occasionally I run into situations where it would be nice if...

feature

## What happened? DartPad is failing to compile a program if the return type of `main` is anything other than `void`, or `dynamic`, AND flutter is imported. It does not...

P3

### Use case Currently in flutter there is not a convenient way to create an `Image` of a given width and height, and then set individual pixels on said `Image`...

## Description Warn when using interfaces in an impure way. ## Details Dart allows you to to use interfaces in an impure way (especially within the same library it is...

type-enhancement
lint-proposal
status-pending

This is kind of an alternative to [allow recursive typedef](https://github.com/dart-lang/language/issues/3714). --- This would allow for recursive data structures backed by records such as in the following examples: ```dart extension type...

feature

A common pattern in extension types is to implement the representation type. This even works if the representation type is a final class like String, but does not work for...

feature