RoomCard.small constructor

const RoomCard.small({
  1. dynamic key,
  2. required String roomId,
  3. SubtitleFn? subtitleFn,
  4. dynamic onTap,
  5. dynamic onLongPress,
  6. dynamic onFocusChange,
  7. dynamic titleTextStyle,
  8. dynamic subtitleTextStyle,
  9. dynamic leadingAndTrailingTextStyle,
  10. double avatarSize = 24,
  11. dynamic contentPadding = const EdgeInsets.all(5),
  12. dynamic margin,
  13. dynamic shape,
  14. bool withBorder = false,
  15. bool showParents = false,
  16. bool showSuggestedMark = false,
  17. bool showVisibilityMark = false,
  18. dynamic trailing,
})

Implementation

const RoomCard.small({
  super.key,
  required this.roomId,
  this.subtitleFn,
  this.onTap,
  this.onLongPress,
  this.onFocusChange,
  this.titleTextStyle,
  this.subtitleTextStyle,
  this.leadingAndTrailingTextStyle,
  this.avatarSize = 24,
  this.contentPadding = const EdgeInsets.all(5),
  this.margin,
  this.shape,
  this.withBorder = false,
  this.showParents = false,
  this.showSuggestedMark = false,
  this.showVisibilityMark = false,
  this.trailing,
});