genui 0.5.1
genui: ^0.5.1 copied to clipboard
Generates and displays generative user interfaces (GenUI) in Flutter using AI.
genui Changelog #
0.5.1 #
- Homepage URL was updated.
- Deprecated
flutter_markdownpackage was replaced withflutter_markdown_plus.
0.5.0 #
- Initial published release.
0.4.0 #
- BREAKING: Replaced
AiClientinterface withContentGenerator.ContentGeneratoruses a stream-based API (a2uiMessageStream,textResponseStream,errorStream) for asynchronous communication of AI-generated UI commands, text, and errors. - BREAKING:
GenUiConversationnow requires aContentGeneratorinstance instead of anAiClient. - Feature: Introduced
A2uiMessagesealed class (BeginRendering,SurfaceUpdate,DataModelUpdate,SurfaceDeletion) to represent AI-to-UI commands, emitted fromContentGenerator.a2uiMessageStream. - Feature: Added
FakeContentGeneratorfor testing purposes, replacingFakeAiClient. - Feature: Added
configureGenUiLoggingfunction andgenUiLoggerinstance for configurable package logging. - Feature: Added
JsonMaptype alias inprimitives/simple_items.dart. - Feature: Added
DirectCallHostand related utilities infacade/direct_call_integrationfor more direct AI model interactions. - Refactor:
GenUiConversationnow internally subscribes toContentGeneratorstreams and uses callbacks (onSurfaceAdded,onSurfaceUpdated,onSurfaceDeleted,onTextResponse,onError) to notify the application of events. - Fix: Improved error handling and reporting through the
ContentGenerator.errorStreamandContentGeneratorErrorclass.
0.2.0 #
- BREAKING: Replaced
ElevatedButtonwith a more genericButtoncomponent. - BREAKING: Removed
CheckboxGroupandRadioGroupfrom the core catalog. TheMultipleChoiceorCheckBoxwidgets can be used as replacements. - Feature: Added an
obscuredproperty toTextInputChipto allow for password style inputs. - Feature: Added many new components to the core catalog:
AudioPlayer(placeholder),Button,Card,CheckBox,DateTimeInput,Divider,Heading,List,Modal,MultipleChoice,Row,Slider,Tabs, andVideo(placeholder). - Fix: Corrected the action key from
actionNametonameinTrailheadandTravelCarousel. - Fix: Corrected the image property from
locationtourlinTravelCarousel.
0.1.0 #
- Initial commit