Vaani/lib/db/player_prefs/book_prefs.dart

30 lines
679 B
Dart
Raw Normal View History

2026-01-10 14:43:59 +05:30
// // a table to track preferences of player for each book
// import 'package:isar/isar.dart';
2024-05-19 08:53:21 -04:00
2026-01-10 14:43:59 +05:30
// part 'book_prefs.g.dart';
2024-05-19 08:53:21 -04:00
2026-01-10 14:43:59 +05:30
// /// stores the preferences of the player for a book
// @Collection()
// @Name('BookPrefs')
// class BookPrefs {
// @Id()
// int libItemId;
2024-05-19 08:53:21 -04:00
2026-01-10 14:43:59 +05:30
// double? speed;
// // double? volume;
// // Duration? sleepTimer;
// // bool? showTotalProgress;
// // bool? showChapterProgress;
// // bool? useChapterInfo;
2024-05-19 08:53:21 -04:00
2026-01-10 14:43:59 +05:30
// BookPrefs({
// required this.libItemId,
// this.speed,
// // this.volume,
// // this.sleepTimer,
// // this.showTotalProgress,
// // this.showChapterProgress,
// // this.useChapterInfo,
// });
// }