What your Pull Request change ?
Just fix the doc
argument type bool -> bool?
Or we will get The argument type 'void Function(bool)' can't be assigned to the parameter type 'void Function(bool?)?'.dart[argument_type_not_assignable](https://dart.dev/diagnostics/argument_type_not_assignable)
Checklist
Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
Description
What your Pull Request change ? Just fix the doc argument type bool -> bool? Or we will get
The argument type 'void Function(bool)' can't be assigned to the parameter type 'void Function(bool?)?'.dart[argument_type_not_assignable](https://dart.dev/diagnostics/argument_type_not_assignable)
Checklist
Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).flutter analyze
without any issues.Breaking Change
If your feature break something, please detail it