refactor: Enable rule avoid dynamic
This commit is contained in:
parent
298a2d0760
commit
9d007815df
17 changed files with 41 additions and 35 deletions
|
|
@ -56,7 +56,7 @@ class _StartPollBottomSheetState extends State<StartPollBottomSheet> {
|
|||
}
|
||||
}
|
||||
|
||||
void _updateCanCreate([dynamic _]) {
|
||||
void _updateCanCreate([_]) {
|
||||
final newCanCreate =
|
||||
_bodyController.text.trim().isNotEmpty &&
|
||||
!_answers.any((controller) => controller.text.trim().isEmpty);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue