refactor: Update flutter lints

This commit is contained in:
Christian Kußowski 2025-11-30 12:42:04 +01:00
commit 35983437e2
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
15 changed files with 43 additions and 82 deletions

View file

@ -56,7 +56,7 @@ class _StartPollBottomSheetState extends State<StartPollBottomSheet> {
}
}
void _updateCanCreate([_]) {
void _updateCanCreate([dynamic _]) {
final newCanCreate = _bodyController.text.trim().isNotEmpty &&
!_answers.any((controller) => controller.text.trim().isEmpty);
if (_canCreate != newCanCreate) {