ChatInputState constructor

const ChatInputState({
  1. SelectedMessageState selectedMessageState,
  2. SendingState sendingState,
  3. bool emojiPickerVisible,
  4. dynamic selectedMessage,
  5. Map<String, String> mentions,
  6. bool editBtnVisible,
})

Implementation

const factory ChatInputState({
  @Default(SelectedMessageState.none)
  SelectedMessageState selectedMessageState,
  @Default(SendingState.preparing) SendingState sendingState,
  @Default(false) bool emojiPickerVisible,
  @Default(null) types.Message? selectedMessage,
  @Default({}) Map<String, String> mentions,
  @Default(false) bool editBtnVisible,
}) = _ChatInputState;