VMessageConfig constructor

const VMessageConfig({
  1. bool isCallsAllowed = true,
  2. Future<VAttachEnumRes?> onMessageAttachmentIconPress()?,
  3. UserActionType? onUserUnBlockAnother,
  4. bool showDisconnectedWidget = true,
  5. String? googleMapsApiKey,
  6. dynamic onMessageLongPress(
    1. VBaseMessage baseMessage
    )?,
  7. UserActionType? onUserBlockAnother,
  8. int maxMediaSize = 1024 * 1024 * 50,
  9. int compressImageQuality = 55,
  10. 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),
});