Skip to content
New issue

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

Had to double tap the slide to go to previous slide #150

Open
imsujan276 opened this issue Sep 30, 2022 · 0 comments
Open

Had to double tap the slide to go to previous slide #150

imsujan276 opened this issue Sep 30, 2022 · 0 comments

Comments

@imsujan276
Copy link

imsujan276 commented Sep 30, 2022

I have a story view that has many slides.

Going to the next slide on tap on the image works fine. but when I try to go to the previous slide, it just resets the sliding duration of the current slider. And I tap it again, and it goes to the previous slide.

Is anyone else facing this issue?

My code:

        StoryViewer(
              key: UniqueKey(),
              viewerController: controller,
              customValues: Customizer(
                sendIcon: Icons.send,
                closeIcon: Icons.close,
                replyPlaceholder: "Message",
              ),
              hasReply: false,
              trusted: true,
              loop: false,
              progressBorderRadius:
                  const BorderRadius.all(Radius.circular(12)),
              progressRowPadding: const EdgeInsets.all(10),
              progressHeight: 6,
              backgroundColor: kGreyColor,
              mediaAlignment: Alignment.center,
              // auto go back if the aspect ratio is StoryRatio.r9_16
              // ratio: StoryRatio.r4_3,
              stories: storyItems,
              userModel: UserModel(
                username: widget.story.name,
                profilePicture: NetworkImage(widget.story.profileImage),
              ),
              onEachStoryLoadComplated: ({String? storyID}) {
                print(storyID);
              },
            ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant