Turn on avoid_return_types_on_setters and cleanup annotated setters.

It's safe to remove the unneeded `void`s from setters since the blocking issues in the
`always_declare_return_types` lint have been fixed (https://github.com/dart-lang/linter/).  We can also safely flip the bit on  `avoid_return_types_on_setters`.
This commit is contained in:
pq
2016-05-12 11:45:30 -07:00
parent 7072c8f255
commit e54196d7fc
58 changed files with 201 additions and 201 deletions

View File

@@ -30,7 +30,7 @@ class ComplexLayoutAppState extends State<ComplexLayoutApp> {
bool _lightTheme = true;
bool get lightTheme => _lightTheme;
void set lightTheme(bool value) {
set lightTheme(bool value) {
setState(() {
_lightTheme = value;
});