RoomCard class

Constructors

RoomCard({dynamic key, required String roomId, SubtitleFn? subtitleFn, dynamic onTap, dynamic onLongPress, dynamic onFocusChange, dynamic titleTextStyle, dynamic subtitleTextStyle, dynamic leadingAndTrailingTextStyle, double avatarSize = 48, dynamic contentPadding = const EdgeInsets.symmetric(horizontal: 12, vertical: 6), dynamic margin, dynamic shape, bool withBorder = true, bool showParents = true, bool showSuggestedMark = false, bool showVisibilityMark = false, dynamic trailing})
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})
const

Properties

avatarSize double
final
contentPadding → dynamic
The tile’s internal padding.
final
hashCode int
The hash code for this object.
no setterinherited
leadingAndTrailingTextStyle → dynamic
The text style for ListTile’s leading and trailing.
final
margin → dynamic
If null, EdgeInsets.symmetric(horizontal: 16.0) is used.
final
onFocusChange → dynamic
final
onLongPress → dynamic
Called when the user long-presses on this list tile.
final
onTap → dynamic
Called when the user taps this list tile.
final
roomId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape → dynamic
The shape of the card’s Material.
final
showParents bool
Whether or not to render the parent Icon
final
showSuggestedMark bool
Whether or not to render the suggested Icon
final
showVisibilityMark bool
Whether or not to render the visibility icon
final
subtitleFn SubtitleFn?
final
subtitleTextStyle → dynamic
The text style for ListTile’s subtitle.
final
titleTextStyle → dynamic
The text style for ListTile’s title.
final
trailing → dynamic
Custom Trailing Widget
final
withBorder bool
Whether or not to render a border around that element.
final

Methods

build(dynamic context, dynamic ref) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited