arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

The Ï„ Player API

The τ player API.

hashtag
Creating the Player instance.

  • Dart API: constructorarrow-up-right.

This is the first thing to do, if you want to deal with playbacks. The instanciation of a new player does not do many thing. You are safe if you put this instanciation inside a global or instance variable initialization.

Example:

</div>


        FlutterSoundPlayer myPlayer = FlutterSoundPlayer();

        Lorem ipsum ...
Dart
Javascript