Nate Wilson

Results 49 issues of Nate Wilson

Now that the [switch expressions issue](https://github.com/flutter/flutter/issues/136139) is close to being wrapped up (yay!), I think it'd be nice to embark on a similar cleanup for collection types. ## [Control Flow...

## Pull request checklist Please check if your PR fulfills the following requirements: - [ ] Tests for the changes have been added (for bug fixes / features) - [...

Containers have suboptimal performance; there are several linter rules that [recommend](https://dart.dev/tools/linter-rules/use_decorated_box) [not](https://dart.dev/tools/linter-rules/use_colored_box) [using](https://dart.dev/tools/linter-rules/sized_box_for_whitespace) [them](https://dart.dev/tools/linter-rules/avoid_unnecessary_containers) when you can avoid it. Ideally, I would like two things to happen: - Add a...

framework
c: proposal
P3
team-framework
triaged-framework

This pull request aims for improved readability, based on issue #146600. ```dart // before List getSupportedPlatforms({bool includeRoot = false}) { final List platforms = includeRoot ? [SupportedPlatform.root] : []; if...

platform-ios
tool
a: desktop

Imagine if `_Padding` and `_Container` were private classes, and there was only one way to add padding: ```dart AnimatedContainer( duration: Duration.zero, padding: const EdgeInsets.only(top: 5), child: widget.child, ) ``` ####...

c: new feature
framework
f: material design
c: proposal
P3
team-design
triaged-design

#### Proposal Allow the following as valid dart code: ```dart enum MyEnum extends Foo { ... } ``` My understanding is that the `enum` keyword desugars to something like ```dart...

feature

Both iOS and Android run into issues when the FocusManager starts responding to app lifecycle changes. Fortunately, this feature is primarily meant for desktop platforms, so the problem can be...

framework
f: focus

PR #147801 introduced some convenient `AnimationStatus` getters, but I just realized that `AnimationController` now has 2 getters for the same thing: `isAnimating` and `isRunning`. The intent of this pull request...

a: text input
framework
a: animation
f: material design
f: scrolling
f: cupertino
d: api docs
d: examples
f: routes

Markdown uses **\`tick marks\`** for code snippets: when I type `1 + 2 = 3` it isn't executed anywhere; instead it's visually formatted as code. Swift, JavaScript, and the Linux...

feature
static-metaprogramming

📜 [Link to Design Doc](https://flutter.dev/go/layered-material-widgets) --- This pull request transforms ink effects to be completely design system-agnostic. | Original names | "Splash" names | |--------------------------------|--------------------| | `InkFeature` | — |...

a: text input
framework
f: material design
d: api docs
d: examples
design doc