StreamUserListTile constructor

const StreamUserListTile({
  1. Key? key,
  2. required User user,
  3. Widget? leading,
  4. Widget? title,
  5. Widget? subtitle,
  6. bool selected = false,
  7. Widget? selectedWidget,
  8. GestureTapCallback? onTap,
  9. GestureLongPressCallback? onLongPress,
  10. Color? tileColor,
  11. VisualDensity visualDensity = VisualDensity.compact,
  12. EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(horizontal: 8),
})

Creates a new instance of StreamUserListTile.

Implementation

const StreamUserListTile({
  super.key,
  required this.user,
  this.leading,
  this.title,
  this.subtitle,
  this.selected = false,
  this.selectedWidget,
  this.onTap,
  this.onLongPress,
  this.tileColor,
  this.visualDensity = VisualDensity.compact,
  this.contentPadding = const EdgeInsets.symmetric(horizontal: 8),
});