CollaborativeDocumentConfiguration class
CollaborativeDocumentConfiguration is a data class that has configuration properties to customize the functionality and appearance of CollaborativeDocumentExtension
CollaborativeDocumentConfiguration(
title: "Collaborative Editing",
subtitle: "Open a document to edit together",
buttonText: "Open",
optionTitle: "Collaborative Document",
optionIconUrl: "assets/images/collaborative_document.png",
optionIconUrlPackageName: "my_package",
optionStyle: CollaborativeDocumentOptionStyle(
background: Colors.green,
iconTint: Colors.red,
titleStyle: TextStyle(color: Colors.white)
)
);
Constructors
- CollaborativeDocumentConfiguration({String? title, String? subtitle, Widget? icon, String? buttonText, DocumentBubbleStyle? style, CometChatTheme? theme, String? optionTitle, String? optionIconUrl, String? optionIconUrlPackageName, CollaborativeDocumentOptionStyle? optionStyle})
Properties
-
buttonText button text to be shown , default is 'Open Document'
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
icon document icon to be shown on bubble
final
- optionIconUrl → String?
-
optionIconUrl is the path to the icon image for the option for this extension
final
- optionIconUrlPackageName → String?
-
optionIconUrlPackageName is the name of the package where the icon for the option for this extension is located
final
- optionStyle → CollaborativeDocumentOptionStyle?
-
optionStyle provides style to the option that generates a collaborative document
final
- optionTitle → String?
-
optionTitle is the name for the option for this extension
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → DocumentBubbleStyle?
-
style document bubble styling properties
final
- subtitle → String?
-
subtitle subtitle to be displayed , default is 'Open document to edit content together'
final
- theme → CometChatTheme?
-
theme sets custom theme
final
- title → String?
-
title title to be displayed , default is 'Collaborative Document'
final
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