kplayer_with_audioplayers library Null safety

Classes

Player
PlayerBar
PlayerBuilder
the PlayerBuilder is a widget that can be used to build a player
PlayerController
the player interface
PlayerMedia<T>
PlayerStreamControllers
PlayerStreams
All streams to for state managment
PlayerValue
PlayerVolume
the PlayerVolume widget is used to control the volume of the player. it contains a vertical slider to control the volume.

Extensions

HumanizeDuration
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
add extension toReadableString to Duration

Enums

PlayerEvent
a Player Statuses enum
PlayerMediaType
a Player Media Types enum
PlayerStatus
a Player Statuses enum

Typedefs

PlayerFactory = PlayerController Function({bool? autoPlay, int? id, bool? loop, required PlayerMedia media, bool? once})
define the player contstructor function type