VMessageConfig constructor
const
VMessageConfig({
- bool isCallsAllowed = true,
- Future<
VAttachEnumRes?> onMessageAttachmentIconPress()?, - UserActionType? onUserUnBlockAnother,
- bool showDisconnectedWidget = true,
- String? googleMapsApiKey,
- dynamic onMessageLongPress(
- VBaseMessage baseMessage
- UserActionType? onUserBlockAnother,
- int maxMediaSize = 1024 * 1024 * 50,
- int compressImageQuality = 55,
- Duration maxRecordTime = const Duration(minutes: 30),
Implementation
const VMessageConfig({
this.isCallsAllowed = true,
this.onMessageAttachmentIconPress,
this.onUserUnBlockAnother,
this.showDisconnectedWidget = true,
this.googleMapsApiKey,
this.onMessageLongPress,
this.onUserBlockAnother,
this.maxMediaSize = 1024 * 1024 * 50,
this.compressImageQuality = 55,
this.maxRecordTime = const Duration(minutes: 30),
});