ChannelPreview constructor

const ChannelPreview({
  1. required Channel channel,
  2. Key? key,
  3. void onTap(
    1. Channel
    )?,
  4. void onLongPress(
    1. Channel
    )?,
  5. VoidCallback? onImageTap,
  6. Widget? title,
  7. Widget? subtitle,
  8. Widget? leading,
  9. Widget? sendingIndicator,
  10. Widget? trailing,
})

Constructor for creating ChannelPreview

Implementation

const ChannelPreview({
  required this.channel,
  Key? key,
  this.onTap,
  this.onLongPress,
  this.onImageTap,
  this.title,
  this.subtitle,
  this.leading,
  this.sendingIndicator,
  this.trailing,
}) : super(key: key);