Navaron Bracke

Results 204 comments of Navaron Bracke

But what if someone wants to enforce that curly_braces_in_control_flow_structures enforces _all_ control flow to have braces? Due to the exception in Effective Dart, the statement that one should use braces...

With the change proposal above, the statement `if (condition) return;` would not be flagged by the lint (if it's less than the configured line length), per the rule in the...

Ah, my mistake. Should I file a new issue for having it linted?

It is up to consumers of the plugin to handle a `PlatformException` properly. Just adding a `catch` here that merely rethrows the exception, does not add any value to it....

@fleoparra According to https://github.com/dart-lang/sdk/issues/37953 the underlying issue has been fixed. But, if you were to add a catch block as you proposed, how would you surface the error to the...

@rrousselGit Another use case would be the `mounted` property on `StateNotifier`. @bwilkerson Perhaps we can generalize the rule to a `bool get mounted` property regardless of the class? I.e. if...

I agree, having the `use_build_context_synchronously` lint is good in a Flutter context, but the _idea behind it_ (not using some state that might have become invalid after an async gap)...

I think the issue here is that setting `recognizer` does not provide you with a focus node for the text span. Having to provide a Focus widget around a `TextSpan`...

I might have a clue about the deadline. In an email that I received about an iOS application, Apple indicated ``` ITMS-90725: SDK version issue - This app was built...

Has there been more work on this? With the new JS interop functionality, this is something I would like to see being implemented. Especially since there is now a concrete...