ZegoInRoomMessageInput constructor

const ZegoInRoomMessageInput({
  1. Key? key,
  2. String placeHolder = 'Say something...',
  3. Map<String, String>? payloadAttributes,
  4. Color? backgroundColor,
  5. Color? inputBackgroundColor,
  6. Color? textColor,
  7. Color? textHintColor,
  8. Color? cursorColor,
  9. Color? buttonColor,
  10. double? borderRadius,
  11. bool enabled = true,
  12. bool autofocus = true,
  13. VoidCallback? onSubmit,
  14. ValueNotifier<String>? valueNotifier,
  15. ValueNotifier<bool>? focusNotifier,
})

Implementation

const ZegoInRoomMessageInput({
  Key? key,
  this.placeHolder = 'Say something...',
  this.payloadAttributes,
  this.backgroundColor,
  this.inputBackgroundColor,
  this.textColor,
  this.textHintColor,
  this.cursorColor,
  this.buttonColor,
  this.borderRadius,
  this.enabled = true,
  this.autofocus = true,
  this.onSubmit,
  this.valueNotifier,
  this.focusNotifier,
}) : super(key: key);