refactor: Enable more strict lints
This commit is contained in:
parent
f797bce8d0
commit
28af7bb0c7
65 changed files with 170 additions and 146 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue