prefer_shorthands 0.3.0 copy "prefer_shorthands: ^0.3.0" to clipboard
prefer_shorthands: ^0.3.0 copied to clipboard

An analyzer plugin that suggests using Dart's dot shorthand syntax.

0.3.0 #

  • Fix case borderRadius: BorderRadius.all(.circular(16)),

0.2.0 #

  • Fix case:
class Animal {}
class Dog {
    static Dog husky() => ...;
}

void foo(Animal animal){}

void main() {
    foo(Dog.husky()); // should not warning
}

0.1.0+1 #

  • Update README.md.

0.1.0 #

  • Fix analyze argument list.

0.0.1+1 #

  • Fix.

0.0.1 #

  • Warning when not use dot shorthands!
3
likes
0
points
182
downloads

Publisher

verified publishernysm.dev

Weekly Downloads

An analyzer plugin that suggests using Dart's dot shorthand syntax.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, yaml

More

Packages that depend on prefer_shorthands