We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong values are notified when following below steps.
import 'package:another_xlider/another_xlider.dart'; import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( appBar: AppBar( title: Text('Sample'), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ Builder(builder: (context) { return TextButton( onPressed: () { Navigator.of(context).push( MaterialPageRoute( builder: (context) => SliderView(), ), ); }, child: Text('Show Slider View', style: TextStyle(fontSize: 30)), ); }), ], ), ), ), ); } } class SliderView extends StatefulWidget { @override _SliderViewState createState() => _SliderViewState(); } class _SliderViewState extends State<SliderView> { double _sliderValue = 0.0; @override void initState() { super.initState(); // To reproduce the bug, // the duration of `delayed` should be less than transition animation's duration (maybe 300ms). // For example, this demo uses 1ms. Future.delayed(Duration(milliseconds: 1)).then((_) { setState(() { _sliderValue = 50; }); }); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(), body: SafeArea( child: Center( child: FlutterSlider( values: [_sliderValue], min: 0, max: 100, ), ), ), ); } }
The text was updated successfully, but these errors were encountered:
Ali-Azmoud#118 call _renderBoxInitialization in onPointerDown on trac…
f32643d
…kbar
443cffe
Successfully merging a pull request may close this issue.
Problem:
Wrong values are notified when following below steps.
Simulator.Screen.Recording.-.iPhone.12.Pro.Max.-.2021-07-19.at.20.51.14.mp4
Dart snippet to reproduce the bug:
The text was updated successfully, but these errors were encountered: