CollaborativeWhiteBoardConfiguration class

CollaborativeWhiteBoardConfiguration is a data class that has configuration properties to customize the functionality and appearance of CollaborativeWhiteBoardExtension

 CollaborativeWhiteboardConfiguration(
   title: "Collaborative Editing",
   subtitle: "Open a document to edit together",
   buttonText: "Open",
   optionTitle: "Collaborative Whiteboard",
   optionIconUrl: "assets/images/collaborative_whiteboard.png",
   optionIconUrlPackageName: "my_package",
   optionStyle: CollaborativeWhiteboardOptionStyle(
   background: Colors.green,
   iconTint: Colors.red,
   titleStyle: TextStyle(color: Colors.white)
   )
  );

Constructors

CollaborativeWhiteBoardConfiguration({String? title, String? subtitle, Widget? icon, String? buttonText, WhiteBoardBubbleStyle? style, CometChatTheme? theme, String? optionTitle, String? optionIconUrl, String? optionIconUrlPackageName, CollaborativeWhiteboardOptionStyle? optionStyle})

Properties

buttonText String?
buttonText button text to be shown default is 'Open Whiteboard'
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 CollaborativeWhiteboardOptionStyle?
optionStyle provides style to the option that generates a collaborative whiteboard
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 WhiteBoardBubbleStyle?
style whiteboard bubble styling properties
final
subtitle String?
subtitle subtitle to be displayed default is 'Open whiteboard to draw together'
final
theme CometChatTheme?
theme sets custom theme
final
title String?
title title to be displayed default is 'Collaborative Whiteboard'
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