kplayer_with_audioplayers library
Classes
- Player
- PlayerController
- the player interface
-
PlayerMedia<
T> - PlayerStreamControllers
- PlayerStreams
- All streams to for state managment
- PlayerValue
Enums
- PlayerEvent
- a Player Statuses enum
- PlayerMediaType
- a Player Media Types enum
- PlayerStatus
- a Player Statuses enum
Mixins
-
PlayerStateMixin<
T extends StatefulWidget> - Mixin handel Player (init,dispose)
Extensions
- HumanizeDuration on Duration
- add extension humanize to Duration it will return the duration in a human-readable format like "1 minute, 2 seconds" it support multipe languages like "en", "fr", "ar"
- ToReadableString on Duration
- add extension toReadableString to Duration
Typedefs
- PlayerFactory = PlayerController Function({bool? autoPlay, int? id, bool? loop, required PlayerMedia media, bool? once})
- define the player contstructor function type