Git Product home page Git Product logo

audio_player's Introduction

Audio Player App

This Flutter app demonstrates creating custom widgets. (Audio Player with Custom Widget)

Creating Custom Widget

We are going to use simple basic widgets to create a custom widget. This is called composition We can create a package of this & reuse this custom widget in any project that we want.

The widget that we have in this project is as shown below: Custom Widget

  1. Container: all the simple widgets will be inside a container
  2. Icon: play/pause button
  3. Text: current time of the track
  4. Slider: the audio track bar
  5. Text: the total time of the track
  6. Row: all the widgets are inside a row widget.

You can checkout the app face from the screenshot here.

About the app

This is a simple app with just one audio track. Purpose is to demonstrate how to create custom widget. Features implemented:

  • View Model
  • Widget Composition
  • Basic flutter widget

packages used: Audio Player: https://pub.dev/packages/audioplayers
Stacked: https://pub.dev/packages/stacked

Make sure you have the latest versions of the package. Feel free to fork changes(if any).

Once you are done, sit back and enjoy one of the best Indian musics :)

Get Started with Flutter

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Tutorial reference for this app.

audio_player's People

Contributors

annapurnasid avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.