FloatyHead class
Constructors
Properties
- callback → Timer?
-
The timer is used when an action is needed to perform after x time has passed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpen → bool
-
Return the
state
of the chatheadno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeHead(
) → void -
Close the
chathead
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openBubble(
) → void - Start the chathead. also check constantly the current state of it.
-
setCloseBackgroundIcon(
String assetPath) → Future< String> -
Set a custom
Close Background
to be displayed behind theClose Icon
. -
setCloseIcon(
String assetPath) → Future< String> -
Set a custom
Close Icon
to be displayed when the chathead is dragged. -
setIcon(
String assetPath) → Future< String> -
Set a custom
icon
for the chathead. -
setNotificationIcon(
String assetPath) → Future< String> -
Set a custom
IconTitle
to be displayed in the notification bar for the chathead. Please note that in some cases, this is gonna ignore any asset given, and instead use the default icon launcher. -
setNotificationTitle(
String title) → Future< String> - Set a custom Title to be displayed in the notification bar for the chathead.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateFloatyHeadContent(
{required FloatyHeadHeader header, FloatyHeadBody? body, FloatyHeadMargin? margin, int? width, int? height}) → Future< bool?> - This functions updates all the UI that is builded in the custom layout that the chathead uses.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerOnClickListener(
OnClickListener callBackFunction) → Future< bool> -
If a
widget
ispressed
check thetype
oftap
. and returns to the client-dart the component that has been pressed as astring
with his tag.