- Murattal: Spotify-style 5-button controls [Shuffle, Prev, Play, Next, Playlist] - Murattal: Animated 7-bar equalizer visualization in player circle - Murattal: Unsplash API background with frosted glass player overlay - Murattal: Transparent AppBar with backdrop blur - Murattal: Surah playlist bottom sheet with full 114 Surah list - Murattal: Auto-play disabled on screen open, enabled on navigation - Murattal: Shuffle mode for random Surah playback - Murattal: Photographer attribution per Unsplash guidelines - Dashboard: Auto-scroll prayer schedule to next active prayer - Fix: setState lifecycle errors on Reading & Murattal screens - Setup: flutter_dotenv, cached_network_image, url_launcher deps
27 lines
453 B
Dart
27 lines
453 B
Dart
import 'package:hive_flutter/hive_flutter.dart';
|
|
|
|
part 'dzikir_counter.g.dart';
|
|
|
|
/// Counter for a single dzikir item on a specific date.
|
|
@HiveType(typeId: 3)
|
|
class DzikirCounter extends HiveObject {
|
|
@HiveField(0)
|
|
String dzikirId;
|
|
|
|
@HiveField(1)
|
|
String date;
|
|
|
|
@HiveField(2)
|
|
int count;
|
|
|
|
@HiveField(3)
|
|
int target;
|
|
|
|
DzikirCounter({
|
|
required this.dzikirId,
|
|
required this.date,
|
|
this.count = 0,
|
|
required this.target,
|
|
});
|
|
}
|