RoomCard.small constructor
const
RoomCard.small({ - dynamic key,
- required String roomId,
- SubtitleFn? subtitleFn,
- dynamic onTap,
- dynamic onLongPress,
- dynamic onFocusChange,
- dynamic titleTextStyle,
- dynamic subtitleTextStyle,
- dynamic leadingAndTrailingTextStyle,
- double avatarSize = 24,
- dynamic contentPadding = const EdgeInsets.all(5),
- dynamic margin,
- dynamic shape,
- bool withBorder = false,
- bool showParents = false,
- bool showSuggestedMark = false,
- bool showVisibilityMark = false,
- 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,
});