sentient_ui 0.1.2
sentient_ui: ^0.1.2 copied to clipboard
A Flutter package for emotion-aware adaptive user interfaces with on-device emotion detection and real-time UI adaptation.
Changelog #
All notable changes to this project will be documented in this file.
0.1.2 #
Fixed / Updated #
- Updated
index.htmlto include the pub.dev package link forsentient_ui. - Corrected documentation in
SentientConsentView: default capture interval is now 30s (previously commented as 10s). - Engine now prevents adaptation loops when all features (emotion, context, behavior) are disabled:
- Added
_hasAnySignalSourcecheck. - Guarded
_startAdaptationLoopand_startFastEmotionLoop. - Added safety check in
_applyAdaptation.
- Added
SentientAppupdated to skipAnimatedEmotionThemeif no inputs are enabled.- Added debug logs when loops are skipped due to all features being off.
0.1.1 #
Fixed #
- Corrected asset paths for models and demo files to ensure proper loading in the example and package.
- Updated documentation references for the demo gif and other assets.
0.1.0 #
Added #
- Core Engine: Initial release of the Sentient UI framework for emotion-aware adaptive interfaces.
- Emotion Detection: On-device real-time emotion detection using TensorFlow Lite.
- Context Awareness: Integrated sensing for environmental context including:
- Night Mode detection (via system clock).
- Noise level monitoring (via microphone).
- Battery and charging status tracking.
- Device motion sensing.
- Rule Engine: A flexible, forward-chaining rule engine for mapping emotion and context to UI adaptations.
- Sentient Widgets: A comprehensive suite of reactive widgets:
SentientApp: Root wrapper for engine initialization and consent.SentientScaffold,SentientAppBar,SentientBottomNavigationBar.SentientText,SentientHeading,SentientCaption.SentientContainer,SentientPadding,SentientColumn,SentientRow.SentientTextButton.
- Theme Adaptation:
EmotionThemeandAnimatedEmotionThemefor smooth, interpolating transitions between emotional states. - Safety Features: Automatic
ensureReadableContrastlogic to maintain accessibility during dark/light mode transitions. - Privacy: Built-in
SentientConsentViewfor transparent user permission management. - Example: Comprehensive showcase application demonstrating real-time adaptation and simulation controls.
0.0.1 #
- Internal preview and architecture prototyping.
