Photo_view: Warning by importing photo_view_scale_state.dart

Created on 26 Nov 2018  路  2Comments  路  Source: fireslime/photo_view

photo_view is very nice library.
It helps me to show my app users photos easily.

I found an issue about importing src/photo_view_scale_state.dart.
I need to handle my app state by using PhotoViewScaleState and I'm using scaleStateChangedCallback to do that.
I need import 'package:photo_view/src/photo_view_scale_state.dart'; to use PhotoViewScaleState in my project code, but if do so, I get warning from Android Studio like this.

2018-11-26 11 38 37

I can build my app though.
Could you fix this?

Log of flutter doctor is here.

Doctor summary (to see all details, run flutter doctor -v):
[鉁揮 Flutter (Channel dev, v0.11.9, on Mac OS X 10.13.6 17G65, locale ja-JP)
[鉁揮 Android toolchain - develop for Android devices (Android SDK 28.0.3)
[鉁揮 iOS toolchain - develop for iOS devices (Xcode 10.1)
[鉁揮 Android Studio (version 3.2)
[鉁揮 IntelliJ IDEA Community Edition (version 2018.1.2)
[!] VS Code (version 1.27.2)
[鉁揮 Connected device (1 available)
bug

All 2 comments

Thanks for pointing out. Looking into it.

Just published the fix 0.1.0

Was this page helpful?
0 / 5 - 0 ratings