Skip to content

Conversation

@java-james
Copy link

Purpose

Add the ability to remove the currently playing story.

Minor format changes to match formatter.

Approach

Add a new function to the controller that will remove the current story.
If it's the last story or the only story, call onComplete.

However, my use case assumes you navigate away / destroy the widget on completion. Therefore, the PR is more to open the conversation than a final solution suggestion.

VerticalDragInfo? verticalDragInfo;

/// Removes the current story from the list and resets playback to the next story.
void removeCurrentStory() {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New function here. All above in this file is just formatting changes.

@java-james
Copy link
Author

java-james commented Aug 19, 2025

Refer to #191 for some ongoing discussion on the topic

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

Successfully merging this pull request may close these issues.

1 participant