ChatKitUtils class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Properties
- isDesktopLikeLayout → bool
-
是否为“桌面化交互”布局:桌面/Web,或可折叠设备展开为双屏。
no setter
- isDesktopOrWeb → bool
-
判断当前平台是否为桌面端(macOS、Windows、Linux)或 Web
用于 UI 层进行平台分支判断,桌面端/Web 使用三栏布局等桌面化交互
no setter
- isFoldableExpanded → bool
-
当前是否处于可折叠设备的展开(双屏)状态。
no setter
- isMobleClient → bool
-
是否是移动端
no setter
-
onHomeTabRequested
↔ ValueChanged<
int> ? -
Optional callback injected by the app shell to select the home tab.
getter/setter pair
Static Methods
-
conversationId(
String targetId, NIMConversationType type) → String? -
getConversationTargetId(
String conversationId) → String -
requestHomeTab(
int index) → void -
setFoldableExpanded(
bool value) → void - 更新可折叠设备的展开状态。
Constants
- CONVERSATION_ID_SPLIT → const String