CometChatDetailsOption constructor

CometChatDetailsOption({
  1. Widget? customView,
  2. dynamic onClick(
    1. User? user,
    2. Group? group,
    3. String section,
    4. CometChatDetailsControllerProtocol state,
    )?,
  3. Widget? tail,
  4. required String id,
  5. double? height,
  6. String? title,
  7. String? icon,
  8. String? packageName,
  9. TextStyle? titleStyle,
})

CometChatDetailsOption constructor requires id , title and onClick while initializing.

Implementation

CometChatDetailsOption(
    {this.customView,
    this.onClick,
    this.tail,
    required super.id,
    this.height,
    super.title,
    super.icon,
    super.packageName,
    super.titleStyle});