- 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
35 lines
591 B
Dart
35 lines
591 B
Dart
import 'package:hive_flutter/hive_flutter.dart';
|
|
|
|
part 'checklist_item.g.dart';
|
|
|
|
/// A single checklist item definition (template, not daily state).
|
|
@HiveType(typeId: 1)
|
|
class ChecklistItem extends HiveObject {
|
|
@HiveField(0)
|
|
String id;
|
|
|
|
@HiveField(1)
|
|
String title;
|
|
|
|
@HiveField(2)
|
|
String category;
|
|
|
|
@HiveField(3)
|
|
String? subtitle;
|
|
|
|
@HiveField(4)
|
|
int sortOrder;
|
|
|
|
@HiveField(5)
|
|
bool isCustom;
|
|
|
|
ChecklistItem({
|
|
required this.id,
|
|
required this.title,
|
|
required this.category,
|
|
this.subtitle,
|
|
required this.sortOrder,
|
|
this.isCustom = false,
|
|
});
|
|
}
|