Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TaibEntry {
- final String taibDate;
- final String location;
- final List<TwoPrayItems> twoPrayers;
- final List<PrayItem> prayers;
- final CurrentPrayItem currentPrayItem;
- final ReminderItem reminderItem;
- TaibEntry({
- required this.taibDate,
- required this.location,
- required this.twoPrayers,
- required this.prayers,
- required this.currentPrayItem,
- required this.reminderItem,
- });
- }
- class TwoPrayItems {
- final String icon;
- final String name;
- final String time;
- final bool isPicked;
- TwoPrayItems({
- required this.icon,
- required this.name,
- required this.time,
- required this.isPicked,
- });
- }
- class PrayItem {
- final String icon;
- final String name;
- final String time;
- final bool isPicked;
- PrayItem({
- required this.icon,
- required this.name,
- required this.time,
- required this.isPicked,
- });
- }
- class CurrentPrayItem {
- final String currentPrayName;
- final String currentPrayTime;
- final double progress;
- final String timeBeforeNextPray;
- final String nextPrayName;
- final String nextPrayTime;
- CurrentPrayItem({
- required this.currentPrayName,
- required this.currentPrayTime,
- required this.progress,
- required this.timeBeforeNextPray,
- required this.nextPrayName,
- required this.nextPrayTime,
- });
- }
- class ReminderItem {
- final String startIcon;
- final String startName;
- final String startTime;
- final String endIcon;
- final String endTime;
- final String endName;
- final double progress;
- final String reminderText;
- ReminderItem({
- required this.startIcon,
- required this.startName,
- required this.startTime,
- required this.endIcon,
- required this.endTime,
- required this.endName,
- required this.progress,
- required this.reminderText,
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement