-
##
## Description
Whenever you're implementing a Container for example and you use both color and decoration at the same time, there's no error shown but an exception is thrown **only when the …
-
I don't know what a good name for this lint would be, but here's the problem...
Using the `Uri.file()` constructor or `Uri.toFilePath()` instance method (and I suspect a number of `package:path` fu…
-
We should keep closer track of what adb is doing. Is it dying on us? The logs don't say.
```
[+1366 ms] I/flutter (26953):
[ +13 ms] I/flutter (26953):
[ +1 ms] I/flutter (26953):
[ …
-
## `unused_ignore`
## Description
An `// ignore: code` line was defined, but it isn't actually ignoring anything
## Details
When dealing with `// ignore`, it is possible that the issue…
-
# unnecessary_late
## Description
If a variable is assigned in all code branches before use, the late keyword is unnecessary.
## Details
The analyzer can determine statically whether a `fi…
-
## `useless_async`
## Description
warns when using the `async` keyword when the function doesn't need to
## Details
using the `async` keyword where it's not needed can lead to confusion an…
-
## `list_dot_empty`
Or without the `dot_`, whatever.
## Description
Avoid using [`List.empty`](https://api.dart.dev/stable/2.18.2/dart-core/List/List.empty.html), introduced in Dart 2.9.
#…
-
## `do_not_use_mockito`
## Description
Do not use `package:mockito`.
## Details
Mocking, or creating short-lived proxy objects that pretend to implement a type can be useful when testing c…
-
## avoidable_null_assertion
*Replace above with your proposed rule name. (See notes on naming in [Writing Lints].)*
## Description
**AVOID** null assertions when they can be avoided.
You…
-
I have looked through many articles and examples, and I understand that Flutter excel currently cannot directly read .xls files. I'm wondering if there are any methods or techniques available to read …