Dustin-Mike Jens HähnelandClaude Opus 4.8 51c2229148 Add sleep timer feature
Timer stops playback (pause) after 5/10/15/30/60 min. Wall-clock
deadline is self-correcting against OS throttling; 1Hz tick drives
the countdown UI. Cancelled in stop() so no timer resurrects a paused
player after teardown.

- sleep_timer.dart: isolated time logic, injectable clock for testing
- audio_handler.dart: sleepTimer field + cancel() in stop()
- now_playing_screen.dart: AppBar button + bottom sheet
- 10 unit tests via mocked clock

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-16 20:06:08 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 20:06:08 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 20:06:08 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 19:51:23 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 18:46:06 +02:00
2026-08-16 18:46:06 +02:00

melo

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

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.

S
Description
No description provided
Readme
1.5 MiB
Languages
Dart 85.2%
HTML 12.5%
Kotlin 1.6%
Swift 0.3%
Ruby 0.3%