Nate Wilson
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...
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...
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, ) ``` ####...
#### 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...
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...
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...
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...
📜 [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` | — |...