Commit Graph

6 Commits

Author SHA1 Message Date
Hiroshi Horie 791ece2265 check format to default 2021-10-02 15:23:34 +09:00
David Zhao 6eebb0bcbf remove publish test 2021-08-31 22:27:40 -07:00
David Zhao 880f1153ff test publishing 2021-08-31 22:20:26 -07:00
Hiroshi Horie ab31ddabb9 Apply Flutter best practices [Non-Breaking] (#2)
* Add flutter_lints package

* Use key in widget constructors

lint: use_key_in_widget_constructors

* Unnecessary new keyword

lint: unnecessary_new

* Prefer const with constant constructors

* Exclude protobuf files from analyzer

* Private field could be final

* Annotate overridden members

* Use initializing formals when possible

* Don't access members with `this` unless avoiding shadowing

* Prefer is! operator

* Use isEmpty instead of length

* Use collection literals when possible

* Revert comment changes

* Cleaner null testing

* Misc fixes

* Avoid using `forEach` with a function literal

* Prefer `final` over `var` where applicable

* Enforce stricter type-checking

* Ignore VS Code files

* Flutter format

* Prefer using lowerCamelCase for constant names

* flutter format -l 100

* Disable `avoid_print` for examples

* Slight improvements to example

Should solve lint error: no_logic_in_create_state
2021-08-31 16:35:07 +09:00
David Zhao 75ac5c4d00 fix CI, cache dependencies 2021-08-04 23:17:43 -07:00
David Zhao 0edcc3a714 CI for build 2021-08-04 23:09:15 -07:00