UpvoteBottomSheet constructor

const UpvoteBottomSheet({
  1. Key? key,
  2. required HiveFlutterKitPlatform hfk,
  3. required String author,
  4. required String permlink,
  5. required String currentUser,
  6. dynamic onVoted(
    1. bool status,
    2. String? result
    )?,
  7. VoidCallback? onClickUpvote,
})

Implementation

const UpvoteBottomSheet({
  super.key,
  required this.hfk,
  required this.author,
  required this.permlink,
  required this.currentUser,
  this.onVoted,
  this.onClickUpvote,
});