TimelinePostWidget constructor

const TimelinePostWidget({
  1. required String userId,
  2. required TimelineOptions options,
  3. required TimelinePost post,
  4. required VoidCallback onTap,
  5. required VoidCallback onTapLike,
  6. required VoidCallback onTapUnlike,
  7. required VoidCallback onPostDelete,
  8. required TimelineService service,
  9. dynamic onUserTap(
    1. String userId
    )?,
  10. Key? key,
})

Implementation

const TimelinePostWidget({
  required this.userId,
  required this.options,
  required this.post,
  required this.onTap,
  required this.onTapLike,
  required this.onTapUnlike,
  required this.onPostDelete,
  required this.service,
  this.onUserTap,
  super.key,
});