HenriqueNas
HenriqueNas
so @hydro63, the `try-catch expressions` would work pretty much like `switch expressions`? ```dart String out = try funcThatThows() { Argument || Format => "default", Exception(message: var m) => m, _...
> ˆ > I feel it would help the error handling, even if by small amount. I agree a lot, seems like this might increase the average code quality of...
_This is my first issue here, so I'd really appreciate any feedback to help me improve it ❤️!_ Here's another example to illustrate this proposal: ```dart patterndef ValidUser(String name, int...
For me, the idea of using `functions as pattern matches` sounds really good to solve the initial problem: **reducing code duplication through reusable pattern matching**. This syntax: `function -> value`,...
@goderbauer PTAL ...thanks for review it 🫶
_(sorry for the delay in responding; I was moving and couldn't dedicate time to this PR.)_ Thank you @nate-thegrate to dedicate your time to review this. > Hi @HenriqueNas, thanks...
> This sounds like should be implemented as a package instead of in flutter/flutter. I am closing this pr, feel free to reopen if you think otherwise. Hi @chunhtai !!...
@nate-thegrate I forgot to mention that I improved the `ComputedNotifier` to suporte the comparison for each callback. If you use the new version, now it should work: ```dart class ComputedNotifier...
> Feel free to click "Reopen pull request" (next to "Comment") once you've pushed some changes. I do not have this button available 😞 > Though to be frank, I...
> Stability, consistency, and usefulness are more important than "glass" of paint. Apple's current "liquid glass" implementation is an accessibility nightmare for people with vision impairment, the semi-blind, and older...