Skip to content

Commit

Permalink
Mark a few properties as final
Browse files Browse the repository at this point in the history
  • Loading branch information
gskinner committed May 14, 2022
1 parent fdb4ce5 commit 300427d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/image_fade.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class _ImageFadeState extends State<ImageFade> with TickerProviderStateMixin {
Widget? _front;
Widget? _back;

late AnimationController _controller;
late final AnimationController _controller;
Widget? _fadeFront;
Widget? _fadeBack;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 300427d

Please sign in to comment.