VoteBottomSheet constructor

const VoteBottomSheet({
  1. Key? key,
  2. required HiveFlutterKitPlatform hfk,
  3. required String author,
  4. required String permlink,
  5. dynamic onVoted(
    1. bool status,
    2. String? result
    )?,
  6. dynamic onClickUpvoteTap(
    1. String author,
    2. String permlink,
    3. int weight
    )?,
})

Implementation

const VoteBottomSheet({
  super.key,
  required this.hfk,
  required this.author,
  required this.permlink,
  this.onVoted,
  this.onClickUpvoteTap,
});