UserProfilePicture constructor

const UserProfilePicture({
  1. Key? key,
  2. required String username,
  3. required HiveFlutterKitPlatform hfk,
  4. bool showDetails = false,
  5. bool showDetailsDisabled = false,
  6. Color upvoteColor = Colors.green,
  7. Color downvoteColor = Colors.red,
  8. Color resourceCreditsColor = Colors.blue,
  9. bool showBars = true,
  10. Function? onTap,
})

Implementation

const UserProfilePicture({
  super.key,
  required this.username,
  required this.hfk,
  this.showDetails = false,
  this.showDetailsDisabled = false,
  this.upvoteColor = Colors.green,
  this.downvoteColor = Colors.red,
  this.resourceCreditsColor = Colors.blue,
  this.showBars = true,
  this.onTap,
});