ChatInputBar constructor

const ChatInputBar({
  1. Key? key,
  2. required TextEditingController controller,
  3. required VoidCallback onSend,
  4. required bool isWaiting,
  5. bool enabled = true,
  6. bool lockInput = false,
  7. FormlessTheme? theme,
  8. Widget? sendIcon,
})

Implementation

const ChatInputBar({
  super.key,
  required this.controller,
  required this.onSend,
  required this.isWaiting,
  this.enabled = true,
  this.lockInput = false,
  this.theme,
  this.sendIcon,
});