CommentTile constructor

const CommentTile({
  1. Key? key,
  2. required Discussion comment,
  3. required int index,
  4. required String currentUser,
  5. required String searchKey,
  6. required ItemScrollController itemScrollController,
  7. bool isPadded = false,
  8. void onReply(
    1. String author,
    2. String permlink
    )?,
  9. void onUpvote(
    1. String author,
    2. String permlink
    )?,
  10. List<Discussion>? allComments,
})

Implementation

const CommentTile({
  Key? key,
  required this.comment,
  required this.index,
  required this.currentUser,
  required this.searchKey,
  required this.itemScrollController,
  this.isPadded = false,
  this.onReply,
  this.onUpvote,
  this.allComments,
}) : super(key: key);