You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't understand what on earth was going on until I discovered a property I didn't know about that I believe is not set properly. In the build function:
@override
Widget build(BuildContext context) {
return Column(
children: <Widget>[
GestureDetector(
onHorizontalDragEnd: (details) {
localPosition = 0.0;
},
onHorizontalDragUpdate: (details) {
// Swipe check,if allowed than only will image move
if (widget.allowSwipeToRotate) {
if (details.delta.dx > 0) {
handleRightSwipe(details);
} else if (details.delta.dx < 0) {
handleLeftSwipe(details);
}
}
},
child: Image(image: widget.imageList[rotationIndex]),
),
],
);
}
child: Image(image: widget.imageList[rotationIndex]), should be changed to child: Image(gaplessPlayback: true, image: widget.imageList[rotationIndex]),.
Perhaps on a Samsung Galaxy S10 or an iPhone 10 you can't even notice it cause they're so fast, but on the Android emulator or a mid-range Android device, it's very clearly noticeable.
gaplessPlayback: true.
The text was updated successfully, but these errors were encountered:
I didn't understand what on earth was going on until I discovered a property I didn't know about that I believe is not set properly. In the build function:
child: Image(image: widget.imageList[rotationIndex]),
should be changed tochild: Image(gaplessPlayback: true, image: widget.imageList[rotationIndex]),
.Perhaps on a Samsung Galaxy S10 or an iPhone 10 you can't even notice it cause they're so fast, but on the Android emulator or a mid-range Android device, it's very clearly noticeable.
gaplessPlayback: true.
The text was updated successfully, but these errors were encountered: