kai_engine_chat_ui 0.2.0 copy "kai_engine_chat_ui: ^0.2.0" to clipboard
kai_engine_chat_ui: ^0.2.0 copied to clipboard

Flutter chat UI widgets for kai_engine (message list, composer, streaming UI).

Changelog #

0.2.0 - 2026-04-11 #

Added #

  • Controller-based architecture for KaiChatView with reactive state management
  • StreamBuilder integration for messages and generation state streams
  • onMessageSent and onError callbacks for better event handling
  • messageItemBuilder, transientItemBuilder, and functionCallBuilder for granular customization
  • showTimeLabel parameter to display message timestamps
  • Inline send/stop button option to KaiComposer with customization (icon, size, color)
  • avatarBuilder support for custom message avatars
  • Empty state support for message list

Changed #

  • Migrated from direct message/state props to ChatControllerBase
  • Adjusted spacing and layout (reduced bubble widths, padding, and corner radius)
  • Changed bottom item spacing from theme.itemSpacing to 4px for first item
  • Simplified timestamp formatting to display HH:mm format
  • Updated kai_engine dependency to ^0.2.0

0.1.1 - 2025-12-31 #

Changed #

  • Complete README rewrite with comprehensive documentation
  • Fixed KaiMessageBuilder signature in examples (removed incorrect isUser parameter)
  • Added custom message builder examples
  • Added custom transient builder examples
  • Added message filtering examples
  • Added theming documentation with property table
  • Added widget API documentation

Dependencies #

  • Updated kai_engine dependency to ^0.1.1

0.1.0 - 2025-12-30 #

Added #

  • Initial release of kai_engine_chat_ui
  • KaiChatView widget for complete chat interface
  • KaiMessageList for displaying messages
  • KaiMessageBubble for individual message rendering
  • KaiComposer for text input and send functionality
  • KaiStreamingText for real-time streaming display
  • KaiTypingIndicator for loading states
  • KaiChatTheme for customizable theming
0
likes
150
points
106
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Flutter chat UI widgets for kai_engine (message list, composer, streaming UI).

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

fast_immutable_collections, flutter, gpt_markdown, kai_engine

More

Packages that depend on kai_engine_chat_ui