PlayerView constructor

const PlayerView({
  1. Key? key,
  2. required Paginated<String, MediaItem> source,
  3. ResourceId? resourceId,
  4. String? initialKey,
  5. int initialIndex = 0,
  6. void onReply(
    1. Post
    )?,
  7. void onShare(
    1. Post
    )?,
  8. void onReact(
    1. Post,
    2. String
    )?,
  9. void onScrollTo(
    1. Post
    )?,
})

Implementation

const PlayerView({
  super.key,
  required this.source,
  this.resourceId,
  this.initialKey,
  this.initialIndex = 0,
  this.onReply,
  this.onShare,
  this.onReact,
  this.onScrollTo,
});