ZIMKitRecordButton constructor
const
ZIMKitRecordButton({
- Key? key,
- required ZIMKitRecordStatus status,
- required String conversationID,
- ZIMConversationType conversationType = ZIMConversationType.peer,
- Widget? icon,
- EdgeInsetsGeometry padding = const EdgeInsets.all(32.0),
- void onMessageSent()?,
- ZIMKitMessageListPageEvents? events,
- FutureOr<
ZIMKitMessage> preMessageSending()?,
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);