fluxy 0.2.4
fluxy: ^0.2.4 copied to clipboard
A complete Flutter platform unifying reactive state, declarative UI, styling, animation, routing, and tooling. Build production-grade apps faster and at scale.
0.2.4 The Stability-First Engineering Engine #
-
Data Visualization Primitives:
- Introduced
Fx.chart(), a high-performance, reactive charting primitive. - Supports Bar and Line charts with automatic layout and entry animations.
- Accepts
Flux<List<FxChartPoint>>for zero-boilerplate reactive charting.
- Introduced
-
Universal Style Engine™:
- Mirrored all widget modifiers (like
.glass(),.blur(),.italic()) into theFxStyleobject. - This enables high-fidelity interactive styles where
onHovereffects can access the full visual power of the framework.
- Mirrored all widget modifiers (like
-
Automatic State Persistence:
- New
flux()factory parameters:keyandpersist: true. - Magically serializes state to local storage without extra boilerplate.
- New
-
Semantic Theme Proxies:
- Introduced
Fx.primary,Fx.secondary,Fx.success, etc., as global color getters that automatically resolve against the current theme context.
- Introduced
-
Intelligence Layout Guards (Flex Solvers):
FxRowandFxColnow proactively detect "Infinite Constraint" violations when placed inside scrollables and auto-repair cross-axis stretching to prevent crashes.
-
Fused Interaction API:
- Introduced
.pressScale(), a premium interaction modifier that fuses haptic feedback with a subtle scale-down effect.
- Introduced
-
Feature Extension:
- Added
Fx.safeArea()static primitive and.safeArea()fluent modifier with full property control.
- Added
-
Fluxy Stability Kernel™ (Full Release):
- Layout Guard: Proactively intercepts and auto-repairs "Unbounded Height/Width" and "Dual Infinity" crashes.
- Sliver-Aware Fx Builder: Fixed a critical crash where
Fx()used inside aCustomScrollViewwould fail with aRenderBox vs RenderSliverviolation. The builder now automatically detects slivers and bypasses box-based guards safely. - Relaxed & Strict Modes: Introduced
FluxyLayoutGuard.strictModefor precision development debugging. - State Guard: Detects and breaks rebuild loops and audits reactive subscribers in real-time.
- Async Guard: Protects against "Async Dispose Races" by automatically canceling callbacks.
- Data Guard: Native support for Self-Healing Data via
.retry()and.swr()caching. - Interaction Guard: Prevents "Double-Tap Ghosting" with built-in debouncing logic.
- Semantic Error Mapping: Improved translation of complex Flutter errors into human-readable Fluxy Alerts.
-
Next-Gen Viewport Architecture:
Fx.scrollCenter(): New layout primitive for centered content without infinity crashes.Fx.viewport: Direct access to CustomScrollView with native stability guards.Fx.sliver: Universal sliver adapter for using any Widget safely inside Sliver layouts.
-
Advanced Native Primitives:
Fx.infiniteList: Standardized, high-performance infinite scrolling.Fx.refresh: Premium Pull-To-Refresh wrapper integrated into the Fx DSL.Fx.parallax: High-performance scroll-linked motion for background layers.Fx.safeArea: Full-control Safe Area primitive and.safeArea()modifier.
-
Professional Interaction & Motion:
- Global Haptic Engine: Native feedback modifiers (
.hapticLight(), etc.). - Animation Presets: Launched
.fadeIn(),.slideUp(), and.zoomIn()for 10x faster motion design. Fx.reveal: Orchestrated stagger entrance animations for list children.
- Global Haptic Engine: Native feedback modifiers (
-
Stability DevTools:
- Metrics Dashboard: Real-time visualization of "Stability Saves".
- Auto-Repair Log: Detailed history of every automatic fix performed by the kernel.
-
Quality of Life:
- Lift Engine Optimization: Better handling of nested
PositionedandExpandedmodifiers. - Recursive Shadow Detection: Fixed edge-case stack overflows in style merging.
- Added
ScrollControllersupport toFx.list. - Exposed
Springconfigurations globally viaFx.spring. - Internal stability fixes and minor performance improvements.
- Lift Engine Optimization: Better handling of nested
0.2.3 DevTools Overhaul & 1.0 Stability Prep #
- Premium DevTools Overhaul:
- High-End Glassmorphism: Completely redesigned the inspector with high-performance blur effects and a sleek Material 3 modern aesthetic.
- Real-time Update Flashing: Signals now briefly flash blue in the list when their value changes, giving you instant visual feedback on state flow.
- JSON Prettifier: Network request and response bodies are now automatically formatted with indentation for easier inspection.
- Advanced Timeline Controls: Added search, pause/resume, and clear functionality to the state update timeline.
- Persistent Search: Individual search bars for Fluxes, DI Container, and Network logs now persist their state across tab switches.
- ClipBoard API Integration: Added "Copy to Clipboard" buttons for signal values, network bodies, and log entries with floating snackbar feedback.
- Infrastructure & Bug Fixes:
- Self-Contained ScaffoldMessenger: Fixed "No ScaffoldMessenger found" exception by implementing an internal GlobalKey-managed system. The DevTools is now fully context-independent.
- Layout Safety: Moved the DevTools Floating Action Button (FAB) up by 60dp to prevent overlap with standard
BottomNavigationBaritems. - Enhanced Error Boundaries: Improved crash-resistance in the DI and Network detail views for malformed data.
0.2.2 Stability Refinements #
- Internal stabilization and minor DevTools context fixes.
0.2.1 Hotfix & Optimization #
- Hotfix: Resolved "No Overlay widget found" and "No MaterialLocalizations found" errors in
FluxyDevTools. The inspector is now fully self-contained and safe to use anywhere in the widget tree. - Optimization: Reduced published package size by ~40% (103 KB) by excluding platform-specific boilerplate in the example directory.
- Branding: Updated DevTools terminology to use 'Flux' instead of generic 'Signal'.
- DevTools Power-Up: Added Search and Live Value Editing. You can now filter fluxes by name/ID and update boolean/string/numeric values directly from the inspector!
0.2.0 Professional Inspector & Architectural Authority #
- Premium DevTools & Fluxy Inspector:
- Revamped UX: Launched a high-end glassmorphic debug interface with real-time system mirrors.
- DI Registry Inspector: Inspect every registered dependency, its lifecycle scope (
app,route,factory), and initialization status. - Network Activity Logs: Full inspection of HTTP requests, including latency tracking and request/response body payloads.
- State Update Timeline: Real-time log of every flux update across the system.
- Scoped Dependency Injection (
FxScope):- Enforced Lifecycles: Introduced structured scopes to manage memory automatically.
- Automatic Route Cleanup:
FxScope.routedependencies are now cleanly disposed when the parent route is popped. - Circular Dependency Detection: The DI engine now identifies and blocks infinite resolution loops.
- Unified Error Pipeline:
- Global Intelligence: Integrated system to capture Flutter framework, Platform, and manual application errors.
Fx.onError: Expressive shorthand for piping all app errors to external sinks (like Sentry or Firebase).
- Modular Plugin Architecture:
FluxyPlugin: New interface for building framework extensions that hook intoonRegister,onAppReady, andonDispose.
- Framework-Grade Testing:
- Support for
FluxyTest: Added testing utilities to ensure DI isolation and clean state resets between test suits.
- Support for
- Proactive CLI Polish:
- New Blueprints: Added generation support for
plugin,layout,model, andcontroller. - Architecture Templates:
fluxy initnow scaffolds projects with the global error pipeline and debug inspector pre-configured.
- New Blueprints: Added generation support for
0.1.11 Routing & DI Stabilization #
- Automatic Route Controller Registration: Fixed
FluxyDIExceptionwhere controllers defined inFxRouteweren't being registered in the DI container. The framework now automatically handlesFluxyDI.putandFluxyDI.deletefor these controllers. - Enhanced DI Engine: Added
putByRuntimeTypeanddeleteByRuntimeTypetoFluxyDIfor better internal framework orchestration.
0.1.10 Stability & Blueprint Polish #
- Fixed Critical Engine Packaging: Corrected
.pubignorelogic that was accidentally excluding the core OTA/SDUI engine files. - Blueprint Syntax Stabilization:
- Reverted
FxFontProxygetters back to methods (font.xl4()) to ensure stable chaining and prevent runtime invocation errors. - Updated
login,feed, anddefaultblueprints to follow the 0.1.10 method-call standard.
- Reverted
- Expanded Styling DSL:
- Added
xl4,xl5, andxl6font sizes to the design system. - Introduced the
.italic()text modifier. - Introduced
.letterSpacing()as a semantic alias for better developer experience.
- Added
- Reliability Improvements: Fixed type-mismatch errors in the
feedblueprint and improved the fallback logic for feature scaffolding.
0.1.9 The Application Platform #
- Native Fluxy Networking (
FluxyHttp):- Zero-Dependency Client: Launched a high-performance HTTP engine built directly on
dart:io. No moredioorhttprequired. - Auto-Orchestration: Seamless integration with
Fluxy.httpandFx.httpfor global API access. - Global Interceptors: Native support for request/response interceptors (perfect for Auth and Logging).
- Automatic JSON: Requests and responses are automatically serialized/deserialized.
- Zero-Dependency Client: Launched a high-performance HTTP engine built directly on
- CLI Intelligence & Scaffolding:
- Fluxy Blueprints: Introduced architectural scaffolding with
fluxy g <name> <type>. Generate complete working solutions forloginandfeed. - Local OTA Server: Launched
fluxy servefor instant local development and testing of Over-The-Air updates. - Project Structure Authority: Fluxy now enforces the
core/featuresdirectory convention for scalable enterprise apps.
- Fluxy Blueprints: Introduced architectural scaffolding with
- Architectural Authority:
- FluxController: Formalized logic layer with native lifecycle hooks (
onInit,onReady,onDispose). - FluxRepository: Standardized offline-first data layer with synchronized Local/Remote orchestration.
- Routing Controller Factory:
FxRoutenow handles automatic controller creation and disposal.
- FluxController: Formalized logic layer with native lifecycle hooks (
- Performance & Thread Management:
- fluxIsolate: Added a branded, high-level wrapper for background isolate execution.
- fluxWorker: Enhanced reactive workers for long-running isolate tasks with state tracking.
- Styling & UI Engine Polish:
- Atomic Border DSL: Added
.borderTop,.borderBottom,.borderLeft, and.borderRighttoFxStyle. - Type-Safe Parameters: Standardized all spacing and sizing modifiers for strict double/EdgeInsets validation.
- Instance-Based Networking: Refined
FluxyHttpto allow instance-based access for better testing and multi-client support.
- Atomic Border DSL: Added
- Documentation & Identity:
- README Revamp: Pivoted messaging from "Library" to "Application Framework."
- Project Structure Guidelines: Defined the official
lib/featuresandlib/coredirectory conventions. - Framework Philosophy: Published the "Structural Authority" roadmap for enterprise scalability.
0.1.8 #
- Ultra-Scale State Management (Branded Flux API):
- Consistent Naming: Standardized core primitives to
Flux,FluxComputed,FluxEffect,AsyncFlux, andFluxHistory. Legacy names (Signal,Computed,Effect,AsyncSignal,HistoryFlux) are now deprecated. - Fluxy.init(): Added a global initialization entry point that must be called at the start of
main(). This handles framework setup and state hydration. - Global State Hydration: Introduced
FluxyPersistence.hydrate()and integrated it intoFluxy.init(). Any flux with apersistKeyis now automatically restored on app startup. - Advanced Middleware Engine: Launched
Fluxy.use()andFluxyMiddleware. Intercept every state change globally for custom analytics, logging, or debugging. - Isolate Workers (60 FPS Processing): Introduced
fluxWorkerandfluxLocalWorkerfor running CPU-intensive tasks in background Isolates without UI jank. - Optimized State Access: Added
.peek()for non-reactive reads anduntracked()for running logic without dependency registration. - Reactive History Enhancements:
FluxHistorygetters (canUndo,canRedo) are now fully reactive, enabling automatic UI updates for undo/redo buttons. - FluxyLocalMixin Support: Expanded the mixin to support
fluxLocalHistory,fluxLocalSelector,fluxLocalComputed, andfluxLocalWorkerfor automatic lifecycle management. - Functional Async Handling: Added
.when()and improved.on()inAsyncFluxfor cleaner pattern matching on async states (loading, data, error).
- Consistent Naming: Standardized core primitives to
- Infrastructure & Polish:
- Internal Refactoring: Updated core engine to use the new branded naming internally.
- Performance Metrics:
FluxComputednow logs performance warnings if a re-evaluation takes longer than 1ms in debug mode.
0.1.7 #
- Next-Gen Button System (Atomic Interaction API):
- Centering Engine Fix: Completely re-engineered the internal layout of
FxButtonto ensure stable content centering regardless of width or height modifiers. - Tailwind-style DSL: Added expressive buttonizers directly to
StringandWidget(e.g.,"Save".primaryBtn()andmyImage.btn()). - Interaction-Only Primitive: Introduced
Fx.btn()(FxButtonVariant.none) for building interactive cards and custom navigation items using the framework's hover/pressed logic. - Custom Content Injection: Switched buttons to a content-first architecture, allowing icons and complex layouts via the
.withChild()modifier.
- Centering Engine Fix: Completely re-engineered the internal layout of
- Premium Image & Visual FX Engine:
- Native Filters: Introduced high-performance native modifiers for images:
.blur(radius),.grayscale(), and.circle(). - Smart Shimmers: Integrated
Fx.loader.shimmer()as the default engine for network image loading states. - Chainable Transitions: Added the
.transition(Duration)modifier to all generic widgets, enabling automatic interpolation of all styling changes (backgrounds, padding, etc.). - Enhanced Motion: Upgraded
FxMotionwith native support for looping, repeating, and reversing animations for "pulse" and "attention" effects.
- Native Filters: Introduced high-performance native modifiers for images:
- Architecture & Productivity Polish:
- Contrast Shortcuts: Added
.whiteText()and.blackText()for high-visibility typography. - Layout Intelligence: Refined
.expanded(),.flex(), and.shrink()to automatically handle structural recursion andParentDatavalidation. - Sequence DSL: Unified the
.stagger(interval)modifier forFx.rowandFx.colto create fluid staggered entrance animations. - FxBadge Stability: Fixed a critical CSS-like collision bug where outer styles were being merged into the badge dot rather than the parent container.
- Contrast Shortcuts: Added
0.1.6 #
- Bulletproof Architecture (Refactoring):
- Attribute Accumulation DSL: Transitioned from "Widget Wrapping" to "Attribute Accumulation". Modifiers now directly update
FxStyleproperties, resulting in a significantly flatter and higher-performance widget tree. - Base FxWidget Class: Implemented a unified
FxWidgetbase class for all Fluxy widgets, enforcing a consistent contract for style and responsive attribute management. - Structural Recursion Fix: Resolved
ParentDataissues (likeIncorrect use of ParentDataWidget) by implementing structural recursion. Modifiers now "peer through"Expanded,Flexible, andPositionedto apply styles to the correct target. - Namespace Protection: Renamed internal
FxStyleproperties to private fields with public getters, preventing naming collisions between Flutter widget properties and DSL methods. - Shadow Recursion Fix: Resolved a critical issue where repeatedly applying shadows could lead to stack overflow due to recursive wrapping.
- Attribute Accumulation DSL: Transitioned from "Widget Wrapping" to "Attribute Accumulation". Modifiers now directly update
- DSL Consistency & Trust:
- Unified Modifier API: Synchronized
.padding(),.margin(),.rounded(), and other core modifiers across ALL widgets. - Smart Proxy Refinement: Updated
.font,.shadow,.bg, and.widthproxies to use the new attribute accumulation engine. - Official Syntax Lock: Locked the core DSL contract. Future versions will prioritize non-breaking extensions.
- Unified Modifier API: Synchronized
- Dev Experience Polish:
- Updated Factory Methods:
Fx.avatar,Fx.table,Fx.dropdown, andFx.badgenow natively supportstyle,className, andresponsiveobjects. - Improved List Performance: Fixed an inconsistency where
Fx.listbuilders didn't correctly propagate styles to children.
- Updated Factory Methods:
0.1.5 #
- Next-Gen Layout System:
- Explicit Layout DSL: Introduced
Fx.row,Fx.col, andFx.stackwith named parameters (justify,items,gap) for safer and more intuitive UI construction. - Intelligent Grids: Launched
Fx.grid.auto()for automatic column calculation andFx.grid.responsive()for explicit breakpoint control. - Layout Presets: Added semantic shortcuts like
Fx.grid.cards(),Fx.grid.gallery(), andFx.grid.dashboard(). - Adaptive Layout Switcher: Introduced
Fx.layout()for seamless switching between mobile, tablet, and desktop views. - Breakpoint Engine: New internal
FxBreakpointsystem for precise platform-aware layouts.
- Explicit Layout DSL: Introduced
0.1.4 #
- Fluxy 2.0 DSL Architecture:
- Context-Free Overlays: Introduced
Fx.toast,Fx.loader, andFx.dialogthat work without directBuildContextaccess. - Reactive Networking: Launched
Fx.fetch()with built-in retries, timeouts, debouncing, and automaticAsyncSignalbinding. - Smart Form DSL: Re-engineered
Fx.form()for automatic keyboard management and bulk validation. - Fluent Styling Proxies: Added
.font,.shadow, and.alignproperty proxies for rapid UI construction. - Performance Lists: Upgraded
Fx.list()withitemBuildersupport for high-performance lazy rendering. - Enhanced Time DSL: Added
.secduration extension (e.g.,2.sec). - Context Extensions: Added
context.theme,context.colors, andcontext.isDarkfor instant token access.
- Context-Free Overlays: Introduced
0.1.3 #
- Built-in Theme Management: Added
FxThemeand methods likeFx.toggleTheme()for zero-boilerplate dark mode support. - Advanced Layouts: Introduced
Fx.layoutbuilder andFx.gridfor cleaner responsive designs. - Premium Data Tables: Added
Fx.tablecomponent with responsive scrolling, striped rows, and hover effects. - Unified Form System: Launched
Fx.formandFx.inputwith built-in validation support. - Responsive Modifiers: Added
asRow,asCol,justify,items, andgapmodifiers for fluent layout control. - Framework Polish: Responsive updates for
Fx.snackandFx.modal, plus structural fixes for layout modifiers.
0.1.2 #
- Proxy-based Styling DSL: Introduced a new, intuitive way to apply styles using chained properties (e.g.,
.bg.white,.width.full,.weight.bold). - Consolidated Animation DSL: Resolved a naming conflict by merging all
.animate()modifiers into a single, high-performance extension inFxMotion. - Enhanced Proxy Support: Proxy classes for Background, Width, Height, and Font Weight are now callable as both getters and methods for maximum flexibility.
- Unified UI Resolution: Improved the internal style resolution engine to better handle mixed legacy and proxy-based styling chains.
- Performance Optimizations: Cleaned up various redundant imports and consolidated internal helper methods for faster build times.
- CLI Version Synchronization: Updated the Fluxy CLI to match the framework's version 0.1.2.
0.1.1 #
- Atomic Styling DSL: Introduced a comprehensive suite of fluent modifiers for widgets, including expressive shorthands for layout and spacing:
- Padding:
.p(),.px(),.py(),.pt(),.pb(), etc. - Margin:
.m(),.mx(),.my(),.mt(),.mb(), etc. - Dimensions:
.w(),.h(),.size(),.square(). - Interactions:
.onHover(),.onPressed(),.pointer().
- Padding:
- Functional Modifiers: Added
FluxyStyleFluentExtensionfor expressive style transformations in state callbacks (hover, pressed). - Advanced UI Components: Introduced
FxAvatarfor smart profile image management andFxBadgefor notification overlays. - Web-Style Dropdown: Re-engineered
FxDropdownusing an Overlay-based implementation to achieve modern "web-select" behavior with custom slide animations. - Reactive Dropdown: Added native
Signalsupport to the dropdown API for zero-boilerplate state synchronization. - Custom Bottom Bar: Launched
FxBottomBar, a unique pill-style navigation experience with smooth physics-based selection tracking. - Performance Polish: Optimized the responsive styling engine and resolved potential circular dependencies in widget definitions.
0.1.0 #
- Dependency Modernization: Upgraded all core dependencies to their latest stable versions, including a major upgrade to
flutter_secure_storage(v10.0.0). - Code Quality Audit: Performed a comprehensive linting sweep of the
FluxyDebugmodule, ensuring strict adherence tocurly_braces_in_flow_control_structuresand other best practices. - Refined Tooling: Optimized service extension registration in DevTools for better reliability.
0.0.9 #
- Maintenance & Polish: Conducted a full framework-wide analysis audit. Resolved all remaining lint warnings and strictly addressed Flutter 3.x deprecations.
- Code Optimization: Removed redundant imports and unused variables in the SDUI and Signal engines.
- Analysis Integrity: Achieved "No issues found" status for the main package and devtools.
0.0.8 #
- Framework Stability: Resolved a critical CLI execution failure on Windows systems by enabling
runInShell: truefor all process calls. - Internal CLI Sync: Synchronized internal CLI versioning with the main package to ensure
fluxy doctoraccuracy.
0.0.7 #
- Professional Documentation: Complete rewrite of
README.mdandDOCUMENTATION.mdfor an engineering-first audience. - Lightweight Engine: Significantly reduced the final app bundle footprint by removing the
httppackage dependency. - Native Networking: Rewrote the OTA engine to use built-in
dart:ioHttpClientfor optimized, zero-dependency networking. - SDUI Optimization: Implemented a "Fast Path" for string interpolation, bypassing Regex engines for static content.
- Linting Audit: Resolved several hidden lint warnings across the core rendering and reactive logic.
0.0.6 #
- Fluxy Cloud: Introduced
fluxy cloudto automatically scaffold GitHub Actions for free Android/iOS builds and deployment. - Fluxy Play: Launched the companion preview app (equivalent to Expo Go) for instant manifest-based development.
- OTA Engine: Implemented the Server-Driven UI (SDUI) renderer and OTA manifest management system.
- Signal Registry: Added a global signal registry with
WeakReferencesupport to enable advanced devtools and prevent memory leaks.
0.0.5 #
- Production Protection: Added global error boundaries to
FluxyAppto prevent crashes in production. - CLI Power: Introduced
fluxyCLI for project initialization and module generation. - Enhanced DevTools: Added Signal Graph Inspector and Timeline Logs for visual debugging.
- Refined Inputs: Rewrote input system for better memory management and two-way binding stability.
0.0.4 #
- Motion Engine: Implemented a fluent physics-based animation DSL (
.animate().spring()). - Staggered Animations: Added sequential entrance effects support.
- Routing 2.0: Added custom page transitions and nested navigation stacks.
0.0.3 #
- High-Fidelity Reactive Engine: Fine-grained reactivity graph with atomic micro-rebuilds.
- Batched Updates: Prevents redundant widget builds via microtask scheduling.
- Design Showcase: Replaced initial demo with a premium Fintech UI showcase.
0.0.2 #
- Refined the Signal API for better developer experience.
- Improved the Style Resolver for consistent utility application.
0.0.1 #
- Initial release of Fluxy Framework.
- Core reactive engine and fluent UI DSL implementation.