- 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
26 lines
370 B
Dart
26 lines
370 B
Dart
import 'package:hive/hive.dart';
|
|
|
|
part 'shalat_log.g.dart';
|
|
|
|
@HiveType(typeId: 7)
|
|
class ShalatLog {
|
|
@HiveField(0)
|
|
bool completed;
|
|
|
|
@HiveField(1)
|
|
String? location; // 'Rumah' or 'Masjid'
|
|
|
|
@HiveField(2)
|
|
bool? qabliyah;
|
|
|
|
@HiveField(3)
|
|
bool? badiyah;
|
|
|
|
ShalatLog({
|
|
this.completed = false,
|
|
this.location,
|
|
this.qabliyah,
|
|
this.badiyah,
|
|
});
|
|
}
|