Enable use_function_type_syntax_for_parameters lint (#77163)
This commit is contained in:
committed by
GitHub
parent
8f9c6af2dd
commit
7b251f5f37
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user