From 300427d42f20ce55e993cfbaf4556825f79a6ef8 Mon Sep 17 00:00:00 2001 From: Grant Skinner Date: Sat, 14 May 2022 17:11:22 -0600 Subject: [PATCH] Mark a few properties as final --- lib/image_fade.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/image_fade.dart b/lib/image_fade.dart index c8d4710..2c04b69 100644 --- a/lib/image_fade.dart +++ b/lib/image_fade.dart @@ -113,7 +113,7 @@ class _ImageFadeState extends State with TickerProviderStateMixin { Widget? _front; Widget? _back; - late AnimationController _controller; + late final AnimationController _controller; Widget? _fadeFront; Widget? _fadeBack; @@ -316,8 +316,8 @@ class _ImageResolver { final Function(_ImageResolver resolver) onComplete; final Function(_ImageResolver resolver) onError; - late ImageStream _stream; - late ImageStreamListener _listener; + late final ImageStream _stream; + late final ImageStreamListener _listener; ImageInfo? _imageInfo; bool _complete = false;