UDocBookmark constructor

const UDocBookmark({
  1. required String id,
  2. required int pageIndex,
  3. required DateTime createdAt,
  4. String title = "",
  5. String note = "",
  6. Color color = const Color(0xFFE53935),
  7. int blockIndex = -1,
  8. double progress = -1,
})

Implementation

const UDocBookmark({
  required this.id,
  required this.pageIndex,
  required this.createdAt,
  this.title = "",
  this.note = "",
  this.color = const Color(0xFFE53935),
  this.blockIndex = -1,
  this.progress = -1,
});