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

Option to remove the overlay colour during hover but keep the controls #862

Open
Martin-QPT opened this issue Oct 9, 2024 · 0 comments
Open

Comments

@Martin-QPT
Copy link

In Flutter Web the mouse over overlay stays for 3 seconds and is a black54. I'd like to see an ability to remove it and just show the controls on hover. Currently the only way to do this is to wrap the control in a Theme that has the platform set to iOS:

final themeData = Theme.of(context);
    return _chewieController != null && _chewieController!.videoPlayerController.value.isInitialized
        ? Theme(
            data: themeData.copyWith(platform: TargetPlatform.iOS),
            child: Chewie(
              controller: _chewieController!,
            ),
          )
        : const Center(
            child: CircularProgressIndicator(),
          );
  }
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