StreamUserListTile constructor
const
StreamUserListTile({
- Key? key,
- required User user,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- bool selected = false,
- Widget? selectedWidget,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- Color? tileColor,
- VisualDensity visualDensity = VisualDensity.compact,
- 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),
});