refactor: Enable more strict lints

This commit is contained in:
Christian Kußowski 2026-02-24 10:04:40 +01:00
commit 28af7bb0c7
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
65 changed files with 170 additions and 146 deletions

View file

@ -67,7 +67,7 @@ class ImageViewerController extends State<ImageViewer> {
}
}
void prevImage() async {
Future<void> prevImage() async {
await pageController.previousPage(
duration: FluffyThemes.animationDuration,
curve: FluffyThemes.animationCurve,
@ -76,7 +76,7 @@ class ImageViewerController extends State<ImageViewer> {
setState(() {});
}
void nextImage() async {
Future<void> nextImage() async {
await pageController.nextPage(
duration: FluffyThemes.animationDuration,
curve: FluffyThemes.animationCurve,

View file

@ -35,7 +35,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
final _supportsVideoPlayer =
!PlatformInfos.isWindows && !PlatformInfos.isLinux;
void _downloadAction() async {
Future<void> _downloadAction() async {
if (!_supportsVideoPlayer) {
widget.event.saveFile(context);
return;