CometChatButton is a widget representing a button with optional icon and text. It provides customisable button styles through the buttonStyle object and handles tap events with onTap callback.
Usage
Dart
CometChatButton( text: "Button", buttonStyle: CometChatButtonStyle( background: Colors.red, ), onTap: (context) { // Action on button tap goes here },);