SenzuLanguage constructor
const
SenzuLanguage({ - String dataSaver = 'Data Saver',
- String cellularWarningTitle = 'Using Mobile Data',
- String cellularWarningBody = 'Streaming will use your mobile data.',
- String cellularContinue = 'Continue',
- String cellularUseSaver = 'Use Data Saver',
- String sleepModeActivated = 'Sleep mode activated',
- String continueWatching = 'Continue watching',
- String aspectRatio = 'Aspect ratio',
- String audio = 'Audio',
- String subtitles = 'Subtitles',
- String episodes = 'Episodes',
- String quality = 'Quality',
- String settings = 'Settings',
- String playbackSpeed = 'Playback speed',
- String sleepTimer = 'Sleep timer',
- String untilVideoEnds = 'Until video ends',
- String minutesShort = 'min',
- String minutes = 'Min',
- String cancel = 'Cancel',
- String loading = 'Loading...',
- String backToPlayer = 'Back to player',
- String next = 'Next',
- String lockScreen = 'Lock',
- String adLoading = 'Ad loading...',
- String skipAd = 'Skip Ad',
- String learnMore = 'Learn more',
- String speed = 'Speed',
- String subtitle = 'Subtitle',
- String aspect = 'Aspect',
- String none = 'None',
- String normal = 'Normal',
- String subtitleSize = 'Size',
- String contain = 'Contain',
- String cover = 'Cover',
- String fill = 'Fill',
- String fitWidth = 'Fit width',
- String fitHeight = 'Fit height',
- String preparing = 'Preparing...',
- String buffered = 'Buffered',
- String failedToLoad = 'Failed to load video',
- String retry = 'Retry',
- String live = 'LIVE',
- String goToLive = 'Go live',
})
Implementation
const SenzuLanguage({
// ── Cellular warning ─────────────────────────
this.dataSaver = 'Data Saver',
this.cellularWarningTitle = 'Using Mobile Data',
this.cellularWarningBody = 'Streaming will use your mobile data.',
this.cellularContinue = 'Continue',
this.cellularUseSaver = 'Use Data Saver',
// ── General / Panels ─────────────────────────
this.sleepModeActivated = 'Sleep mode activated',
this.continueWatching = 'Continue watching',
this.aspectRatio = 'Aspect ratio',
this.audio = 'Audio',
this.subtitles = 'Subtitles',
this.episodes = 'Episodes',
this.quality = 'Quality',
this.settings = 'Settings',
this.playbackSpeed = 'Playback speed',
this.sleepTimer = 'Sleep timer',
this.untilVideoEnds = 'Until video ends',
this.minutesShort = 'min',
this.minutes = 'Min',
this.cancel = 'Cancel',
this.loading = 'Loading...',
this.backToPlayer = 'Back to player',
// ── Controls ─────────────────────────
this.next = 'Next',
this.lockScreen = 'Lock',
// ── Ad ─────────────────────────
this.adLoading = 'Ad loading...',
this.skipAd = 'Skip Ad',
this.learnMore = 'Learn more',
// ── Player settings ─────────────────────────
this.speed = 'Speed',
this.subtitle = 'Subtitle',
this.aspect = 'Aspect',
this.none = 'None',
this.normal = 'Normal',
// ── Subtitle / Fit ─────────────────────────
this.subtitleSize = 'Size',
this.contain = 'Contain',
this.cover = 'Cover',
this.fill = 'Fill',
this.fitWidth = 'Fit width',
this.fitHeight = 'Fit height',
// ── Buffer ─────────────────────────
this.preparing = 'Preparing...',
this.buffered = 'Buffered',
// ── Error ─────────────────────────
this.failedToLoad = 'Failed to load video',
this.retry = 'Retry',
// ── Live ─────────────────────────
this.live = 'LIVE',
this.goToLive = 'Go live',
});