flutter_xlider
flutter_xlider copied to clipboard
onDragCompleted return unexpected lowerValue?
Hi, here is the issue I am facing. When I tap once and release on the same location, the lowerValue return from onDragStarted & onDragCompleted is different.
Kindly refer screenshot to visualise the scenario: https://photos.app.goo.gl/M9kcay5PEWZnTsqF9
For example, I tapped the area in between 100Mbps and 500Mbps and released. onDragStarted lowerValue: 33.3336 onDragCompleted lowerValue: 0.0
As the result, the handler moved to 50Mbps when rebuilt.
Appreciate if anyone can help to verify is this a bug or is expected behaviour of xlider. Would provide any info if required. Thanks.
Test environment: flutterMode: profile & use physical device
Tested devices: iPhone 13 Pro, Huawei Mate20 pro
Flutter Doctor -v:
[!] Flutter (Channel unknown, 3.3.9, on macOS 13.3.1 22E261 darwin-x64, locale en-MY)
! Flutter version 3.3.9 on channel unknown at /Users/michael/flutter
! Upstream repository unknown
• Framework revision b8f7f1f986 (5 months ago), 2022-11-23 06:43:51 +0900
• Engine revision 8f2221fbef
• Dart version 2.18.5
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
• Android SDK at /Users/michael/Library/Android/sdk
• Platform android-33, build-tools 32.0.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14B47b
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
Hi. Could you provide a sample code so that I can reproduce the error?