MessageBar constructor

MessageBar({
  1. Key? key,
  2. bool replying = false,
  3. String replyingTo = "",
  4. List<Widget> actions = const [],
  5. Color replyWidgetColor = const Color(0xffF4F4F5),
  6. Color replyIconColor = Colors.blue,
  7. Color replyCloseColor = Colors.black12,
  8. Color messageBarColor = const Color(0xffF4F4F5),
  9. Color sendButtonColor = Colors.blue,
  10. String messageBarHintText = "Type your message here",
  11. TextStyle messageBarHintStyle = const TextStyle(fontSize: 16),
  12. TextStyle textFieldTextStyle = const TextStyle(color: Colors.black),
  13. void onTextChanged(
    1. String
    )?,
  14. void onSend(
    1. String
    )?,
  15. void onTapCloseReply()?,
})

MessageBar constructor

Implementation

MessageBar({Key? key,
  this.replying = false,
  this.replyingTo = "",
  this.actions = const [],
  this.replyWidgetColor = const Color(0xffF4F4F5),
  this.replyIconColor = Colors.blue,
  this.replyCloseColor = Colors.black12,
  this.messageBarColor = const Color(0xffF4F4F5),
  this.sendButtonColor = Colors.blue,
  this.messageBarHintText = "Type your message here",
  this.messageBarHintStyle = const TextStyle(fontSize: 16),
  this.textFieldTextStyle = const TextStyle(color: Colors.black),
  this.onTextChanged,
  this.onSend,
  this.onTapCloseReply,
}) : super(key: key);