ZegoSuperBoardCursorTitleStyle class
Detailed description: The interface parameter construction class uses the parameters required by the incoming cursor style.
Business scenario: It needs to be passed when calling the setCustomCursorAttribute interface.
Constructors
- ZegoSuperBoardCursorTitleStyle({String? title, bool bold = false, bool italic = false, int size = 16, String? color = '#ffffff', String? backgroundColor = '#000000', ZegoSuperBoardCursorTitlePosition position = ZegoSuperBoardCursorTitlePosition.rightTop})
Properties
- backgroundColor ↔ String?
-
Description:Cursor custom text font background color
Required: false
getter/setter pair
- bold ↔ bool
-
Description:Whether the cursor custom text is bold
Required: false
getter/setter pair
- color ↔ String?
-
Description:Cursor custom text font color
Required: false
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- italic ↔ bool
-
Description:Whether the cursor custom text is italic
Required: false
getter/setter pair
- position ↔ ZegoSuperBoardCursorTitlePosition
-
Description:Customize the position of the text relative to the cursor
Required: false
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ int
-
Description:Cursor custom text font size
Default value:16
getter/setter pair
- title ↔ String?
-
Description:Cursor custom text content
Required: false
Default value:""
Recommended value:User login name display
getter/setter pair
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