ChatInputBar constructor

ChatInputBar({
  1. Widget? inputIcon,
  2. String? inputHint,
  3. Widget? leading,
  4. List<Widget>? actions,
  5. TextDirection? textDirection,
  6. void onSend({
    1. required String msg,
    })?,
  7. Key? key,
})

Implementation

ChatInputBar({
  this.inputIcon,
  this.inputHint,
  this.leading,
  this.actions,
  this.textDirection,
  this.onSend,
  super.key,
}) {
  assert(
      actions == null || actions!.length <= 4, 'can\'t more than 4 actions');
}