Flutter control slider with keyboard arrows - flutter

I am trying to make an android tv app with a basic video player using the video_player plugin.
One of the issue I am having is that the slider control for the seek time is not being focused and I cannot drag it with the keyboard.
Is there any way to accomplish this? Maybe with a keyboardlistener?
Thanks

Related

How to add custom shapes by finger touch as overlay on video in Flutter using ffmpeg?

for a Flutter app that requires the user to select an image or a shape and add it by finger touch to a specific position in the video frame. I've found a way to add an overlay to a video using the ffmpeg package in Flutter, but I'm not sure how to implement the functionality in a way to be added by finger touch and then fix this edited frame for specified time then the video continues .
and I also want to ask if i can add this functionality to the Flutter video editor sdk
I have tried searching for examples and documentation on how to achieve this but couldn't find anything specific. I would appreciate any suggestions or guidance on how to proceed.
Thank you in advance for your help!

How to implement an expanding minplayer in flutter using just audio

I am working on a simple music player app using the just_audio plugin. I want to have a small miniplayer at the bottom of the screen in the app. It will have basic song info and controls to play and pause. The basic deisgn is -:
when the user clicks on the minplayer I want it to expand into a full screen size and show additional controls like a progress bar, buttons to control the player etc. I tried to do this by passing the audioplayer as a navigator argument but got the error which said that only one instance of player is accepted at a time. Also the big screen should have a button to collapse the player
Please help

Flutter - PIP mode similar to Youtube (Android)

I am trying to create an app in flutter which consists of:
Home Page
Video Player Page
From the Home Page, the user is able to navigate to the video player page. If the video is playing, when the user clicks the back button or swipe down from the video player, I want to minimize the video player to the bottom of the app (while continue playing) and navigate back to the homepage. This is how Youtube works right now.
After research, I found two approaches to implement this, but each with its own problems.
1. Use the Android PIP mode
Problem:
Android PIP mode works on activity basis. Flutter has only one activity. If I were to implement it this way, the entire app will be minimized when I invoke the PIP mode. I want the user to be able to navigate within the app while the video player is in PIP mode.
Is there a way to have more than one activity in Flutter? If it is possible, then is it advisable to implement it this way?
2. Create a persistent widget
Create a widget that persists on navigation similar to this.
Problem:
I can't wrap my head on how to implement it this way. How do I animate the media player in the nested MaterialApp to minimize to the bottom of the app where the persistent widget is (because it's two separate Material Apps). How do I pass data between them?

Implement the Flash button animation as in iPhone camera in my app?

Im developing a camera app, I want to implement the same animation that happens in default iPhone camera app when you click on the flash button, i.e once you click on the flash button, we can see the other 2 buttons animating, and once you click any one button it again animates and hides.
how can i do this?
Thanks in advance.
Take a look at DDExpandableButton which is able to do exactly this and even includes example code for creating a flash button. https://github.com/ddebin/DDExpandableButton

May I handle moving icon of my iPhone application

Is it possible to handle the animation of moving icons in an iPhone application? If so, how?
As far as I know, you cannot. The icon motion animation is generated by iOS based on the still icon, and you have no control of it.
I think without .gif image you can not make animated icon and ios will not support that so you have no control on it.