ZIMKitRecordButton constructor

const ZIMKitRecordButton({
  1. Key? key,
  2. required ZIMKitRecordStatus status,
  3. required String conversationID,
  4. ZIMConversationType conversationType = ZIMConversationType.peer,
  5. Widget? icon,
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(32.0),
  7. void onMessageSent(
    1. ZIMKitMessage
    )?,
  8. ZIMKitMessageListPageEvents? events,
  9. FutureOr<ZIMKitMessage> preMessageSending(
    1. ZIMKitMessage
    )?,
})

Implementation

const ZIMKitRecordButton({
  Key? key,
  required this.status,
  required this.conversationID,
  this.conversationType = ZIMConversationType.peer,
  this.icon,
  this.padding = const EdgeInsets.all(32.0),
  this.onMessageSent,
  this.events,
  this.preMessageSending,
}) : super(key: key);