ZegoInRoomMessageInput constructor
const
ZegoInRoomMessageInput({
- Key? key,
- String placeHolder = 'Say something...',
- Map<
String, String> ? payloadAttributes, - Color? backgroundColor,
- Color? inputBackgroundColor,
- Color? textColor,
- Color? textHintColor,
- Color? cursorColor,
- Color? buttonColor,
- double? borderRadius,
- bool enabled = true,
- bool autofocus = true,
- VoidCallback? onSubmit,
- ValueNotifier<
String> ? valueNotifier, - 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);