Enable avoid_print lint. (#91444)

This commit is contained in:
Ian Hickson
2021-10-07 16:48:04 -07:00
committed by GitHub
parent 2ca823d40c
commit f25b833f27
85 changed files with 373 additions and 244 deletions

View File

@@ -47,7 +47,7 @@ class AutocompleteBasicExample extends StatelessWidget {
});
},
onSelected: (String selection) {
print('You just selected $selection');
debugPrint('You just selected $selection');
},
);
}

View File

@@ -79,7 +79,7 @@ class AutocompleteBasicUserExample extends StatelessWidget {
});
},
onSelected: (User selection) {
print('You just selected ${_displayStringForOption(selection)}');
debugPrint('You just selected ${_displayStringForOption(selection)}');
},
);
}