fluttercommunity / fluttercommunity/chewie

Implement AutomaticKeepAliveClientMixin

Open
#157 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
1.1k
Avg merge
6d 8h
Merged PRs (30d)
6

Description

Hi, I think `ChewieState` should implement `AutomaticKeepAliveClientMixin` with sufficient logic to keep this widget alive with ancestors such as SliverList/ListView (for example, checking for value.initialized == true). At least, it would be extremely useful to have an opt-in flag to avoid using custom wrappers just to do this.

I even think that audio playback should continue event without KeepAlive if the `VideoPlayerController` isn't disposed (and video resumed when the widget is re-attached), but that's probably impossible to resolve at Chewie level.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.