Enable use_function_type_syntax_for_parameters lint (#77163)

This commit is contained in:
Michael Goderbauer
2021-03-04 08:59:17 -08:00
committed by GitHub
parent 8f9c6af2dd
commit 7b251f5f37
68 changed files with 119 additions and 119 deletions

View File

@@ -182,7 +182,7 @@ class CardCollectionState extends State<CardCollection> {
});
}
Widget buildDrawerCheckbox(String label, bool value, void callback(), { bool enabled = true }) {
Widget buildDrawerCheckbox(String label, bool value, void Function() callback, { bool enabled = true }) {
return ListTile(
onTap: enabled ? callback : null,
title: Text(label),