BookCoverWidget constructor

const BookCoverWidget({
  1. Key? key,
  2. required String? imageUrl,
  3. double width = 120,
  4. double height = 160,
  5. BoxFit fit = BoxFit.cover,
})

Implementation

const BookCoverWidget({
  Key? key,
  required this.imageUrl,
  this.width = 120,
  this.height = 160,
  this.fit = BoxFit.cover,
}) : super(key: key);