flutter app development
problem statement->
1. Create a flutter app.
2. Use assets (eg. audios and videos).
3. The app will have to play these audios and videos from Assets.
4. Also, add Features to play audio and video from the Internet(Network).
5. Create buttons like play, pause, and stop for audio and video both.
MY APP->
In the above by using scaffold -> appbar i have given colours, leading, action buttons. coming to the body using container we can we keep background pic
by using container properties create child->children->coloum->rows we have to use App UI like matrix positions and place, buttons,different widgets etc.
in the rows, we can create raised, flat buttons and create a onpressed functions. In that by navigator function, it can direct to the next page. this function uses stack uses first in last out process.
we have to create a folder in flutter app called assets and paste music, videos.
by using basic commands we can design in the first page(song local) by downloading audioplayer from pubdev we can write the function like play, pause function by using their library.
the pubspec.yml -> assets keep ur songs , videos etc.
by using same processor that we used in the first button we can use the same function and we can direct to the next page in that we can used basic scaffold functions and desire the UI in the page in the can create icons and keep functions of it like play, pause.
similarly to 1st, 2nd page in 3rd we use same functions and create the UI in that using onpressed functions. In the video, we have to install video_player file so that we access the file in that play videos by using different function forward, play, pause, time display we can make more beautiful and user friendly
we use similar function for 4th page in this videoApp is the function in which all play, pause work behind if you see in the videonet.dart floatingactionbutton is a blue button which you could see in the avd phone .