INNER CODE UNIT · Dart
DashChat
fayeed/dash_chat · lib/src/chat_view.dart:5
class DashChat extends StatefulWidget {
/// Flex value for the messeage container defaults to 1
/// Made so that the message container takes as much as possible
/// if no height or width is passed explicity
final int messageContainerFlex;
/// Set the chat into read only mode, meaning no way to send messages
/// default to false
final bool readOnly;
/// Height for the Dash chat Widget
final double? height;
// Width for the Dash chat Widget
final double? width;
/// List of messages to display in the chat container
/// Takes a [List] of [ChatMessage]