SBUGroupChannelListScreen class
SBUGroupChannelListScreen
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SBUGroupChannelListScreen
Constructors
- SBUGroupChannelListScreen.new({GroupChannelListQuery? query, void onGroupChannelCollectionReady(int channelCollectionNo)?, void onScrollControllerReady(ScrollController)?, void onCreateButtonClicked()?, void onListItemClicked(GroupChannel)?, double scrollExtentToTriggerPreloading = defaultScrollExtentToTriggerPreloading, double cacheExtent = defaultCacheExtent, Widget customHeader(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection)?, Widget customListItem(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection, int index, GroupChannel channel)?, Widget customLoadingBody(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection)?, Widget customEmptyBody(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection)?, Widget customErrorScreen(BuildContext context, SBUTheme theme, SBUStrings strings)?, Key? key})
-
const
Properties
- cacheExtent → double
-
final
- customEmptyBody → Widget Function(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection)?
-
final
- customErrorScreen → Widget Function(BuildContext context, SBUTheme theme, SBUStrings strings)?
-
final
- customHeader → Widget Function(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection)?
-
final
- customListItem → Widget Function(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection, int index, GroupChannel channel)?
-
final
- customLoadingBody → Widget Function(BuildContext context, SBUTheme theme, SBUStrings strings, GroupChannelCollection collection)?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onCreateButtonClicked → void Function()?
-
final
- onGroupChannelCollectionReady → void Function(int channelCollectionNo)?
-
final
- onListItemClicked → void Function(GroupChannel)?
-
final
- onScrollControllerReady → void Function(ScrollController)?
-
final
- query → GroupChannelListQuery?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollExtentToTriggerPreloading → double
-
final
Methods
-
amIFrozen(
GroupChannel? channel) → bool -
inherited
-
amIMuted(
GroupChannel? channel) → bool -
inherited
-
amIOperator(
GroupChannel? channel) → bool -
inherited
-
canChooseDocument(
) → bool -
inherited
-
canChooseMedia(
) → bool -
inherited
-
canChoosePhoto(
) → bool -
inherited
-
canGetFile(
) → bool -
inherited
-
canGetPhotoFile(
) → bool -
inherited
-
canTakePhoto(
) → bool -
inherited
-
canTakeVideo(
) → bool -
inherited
-
copyTextToClipboard(
String text, SBUStrings strings) → Future< void> -
inherited
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
getAvatarComponent(
{required bool isLightTheme, required double size, User? user}) → SBUAvatarComponent -
inherited
-
getChannelCacheKey(
BaseChannel? channel) → String? -
inherited
-
getDefaultContainer(
bool isLightTheme, {Widget? child}) → Widget -
inherited
-
getFileType(
FileMessage message) → SBUFileType -
inherited
-
getGroupChannelAvatarComponent(
{required bool isLightTheme, required double size, required GroupChannel channel}) → SBUAvatarComponent -
inherited
-
getGroupChannelName(
GroupChannel channel, SBUStrings strings) → String -
inherited
-
getMessageCacheKey(
BaseMessage? message) → String? -
inherited
-
getMyMember(
GroupChannel? channel) → Member? -
inherited
-
getNickname(
User? user, SBUStrings strings) → String -
inherited
-
getNicknameOrYou(
User? user, SBUStrings strings) → String -
inherited
-
getReadStatusIcon(
GroupChannel channel, BaseMessage? message, bool isLightTheme) → SBUIconComponent? -
inherited
-
getThumbnailSize(
) → Size -
inherited
-
getTypingStatus(
GroupChannel channel, SBUStrings strings) → String? -
inherited
-
isDisabled(
GroupChannel? channel) → bool -
inherited
-
isReplyMessageToChannel(
BaseMessage message) → bool -
inherited
-
isThemeTestOn(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showToast(
{required bool isLightTheme, required String text, bool isError = false}) → void -
inherited
-
sortMembersByNickname(
List< Member> members) → List<Member> -
inherited
-
sortUsersByNickname(
List< User> users) → List<User> -
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
-
unfocus(
) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultCacheExtent → const double
- defaultScrollExtentToTriggerPreloading → const double