PLATFORM Fluxy Framework
Industrial-Grade Managed Application Platform for Flutter
Documentation | Migration Guide | Changelog
Standardize your Flutter engineering with a high-integrity, unified runtime environment.
Fluxy is not just a library; it is a Managed Application Platform (MAP) designed to provide architectural authority to the Flutter ecosystem. It replaces fragmented third-party dependencies with a single, high-performance kernel that manages state, layout stability, platform hardware, and security.
v1.2.1 - The Elite Motion Release
Fluxy v1.2.1 introduces the Elite UI system and high-end animation primitives for next-gen application design!
- Elite Bottom Bar: Full-width glassmorphic Dock with always-visible labels.
- Elite Animation Primitives: New
FxMeshGradient,FxAnimatedBorder,FxSpotlight,FxGooey, andFxConfetti. - Industrial Engine Update: Context-aware
FxSafeExpansionand alignment inference. - Stability Kernel™: Intercepts and auto-repairs layout violations.
Recent Updates (v1.2.0 - v1.2.1)
- v1.2.1: Elite UI & High-End Motion Primitives
- v1.2.0: Fluxy Stability Kernel™ & Industrial Engine
INSTALL Installation
Core Package
dependencies:
fluxy: ^1.2.1
Modular Packages (Add as needed)
dependencies:
fluxy_animations: ^1.2.1 # High-end motion primitives [NEW]
fluxy_camera: ^1.1.0 # Camera functionality
fluxy_auth: ^1.1.0 # Authentication and biometrics
fluxy_notifications: ^1.1.0 # Push notifications
fluxy_storage: ^1.1.0 # Data persistence
fluxy_test: ^1.1.0 # Testing utilities
fluxy_analytics: ^1.1.0 # Analytics and tracking
fluxy_biometric: ^1.1.0 # Biometric authentication
fluxy_connectivity: ^1.1.0 # Network connectivity
fluxy_permissions: ^1.1.0 # Device permissions
fluxy_platform: ^1.1.0 # Unified meta-package
fluxy_ota: ^1.1.0 # Over-the-air updates
fluxy_haptics: ^1.1.0 # Sensory feedback
fluxy_logger: ^1.1.0 # Industrial auditing
fluxy_device: ^1.1.0 # Environment awareness
fluxy_websocket: ^1.1.0 # Managed WebSockets
fluxy_sync: ^1.1.0 # Persistent hydration
fluxy_presence: ^1.1.0 # Collaborative state
fluxy_geo: ^1.1.0 # Geofencing engine
fluxy_stream_bridge: ^1.1.0 # Native Stream DSL
Quick Start
import 'package:fluxy/fluxy.dart';
void main() async {
await Fluxy.init();
runApp(FluxyApp(routes: appRoutes));
}
ARCH Structural Hierarchy
Fluxy is built on a layered architecture that ensures separation of concerns while maintaining a unified developer experience.
LEVEL 0The Stability Kernel™: The lowest layer, providing auto-correction for layout violations, async race protection, and global error intercepts.LEVEL 1Managed Runtime: A unified plugin engine that lifecycle-manages hardware modules (Camera, Biometrics, Notifications) with zero-config registration.LEVEL 2Reactive Flux Engine: A signal-based state management system with built-in persistence, computed derivations, and automatic memory cleanup.LEVEL 3Fluxy DSL: A declarative styling and layout language that provides modifier-based parity across all Flutter widgets.
ENGINE How it Works
Fluxy operates as a Structural Authority. When you initialize Fluxy.init(), the framework takes control of the application lifecycle:
- Hydration: Restores persisted state (
fluxsignals) from the encrypted vault before the first frame. - Discovery: Automatically wires up all platform modules via the
FluxyPluginEngine. - Interception: Wraps the widget tree in a
FluxyLayoutGuardthat "solves" impossible layout constraints in real-time, preventing the "Red Screen of Death" in production.
MATRIX Comparative Analysis
| Feature | Fluxy | BLoC | Provider | GetX |
|---|---|---|---|---|
| Logic/UI Binding | High-Performance Signals | Streams/Events | ChangeNotifiers | Observables |
| Platform Modules | Native Managed (Unified) | External Packages | External Packages | Integrated Utils |
| Stability | Active Kernel (Auto-Fix) | Passive (Manual) | Passive (Manual) | Passive (Manual) |
| Boilerplate | Minimal (Zero-Setup) | High (Event/State) | Medium | Minimal |
| Architecture | Managed Runtime | Pattern-Only | Pattern-Only | Utility-First |
| Enterprise Readiness | High (Internal Audits) | High | Medium | Medium |
CODE Implementation Paradigms
Fluxy simplifies complex Flutter patterns into intuitive, high-performance DSL chains.
1. High-Fidelity Infrastructure
void main() async {
await Fluxy.init(); // Hydrates state and boots Managed Runtime
runApp(Fluxy.debug(child: FluxyApp(routes: appRoutes)));
}
v1.2.1 Modernization:
- Elite Motion: High-end fluid and neon animation primitives
- Elite UI: Full-width glassmorphic navigation dock
- Industrial Engine: Context-aware expansion and alignment inference
- Stability Kernel™: Intercepts and auto-repairs layout violations
- Managed Lifecycle: Automatic resource cleanup via
FluxyResourceManager - Real-Time Ecosystem: Native WebSockets and Sync engines
2. Reactive State with Persistent Vault
// Native persistence with zero-config encryption
final session = flux<User?>(null, key: 'auth_session', persist: true);
Fx(() => Fx.text("Welcome, ${session.value?.name ?? 'Guest'}")
.font(size: 18, weight: FontWeight.bold)
.color(Colors.blueAccent)
.center()
);
v1.1.0 Highlights:
- Stability Kernel™: Auto-repair for layout and state violations
- Managed Runtime: Unified hardware access via
Fx.platform - Security Vault: Hardware-backed credential management
Real-Time Capability:
- WebSockets: Managed
fluxy_websocketintegration - Sync: Persistent
fluxy_syncengine - Presence: Native collaborative state
3. Managed Hardware Interfacing (The Industrial Way)
Future<void> captureSecure() async {
// Access hardware via the Unified Platform API
final isSecure = await Fx.platform.biometric.authenticate();
if (isSecure) {
// Standard capture UI managed by the framework
final image = await Fx.platform.camera.fullView();
// Encrypted persistent storage
await Fx.platform.storage.set('last_scan', image.path, secure: true);
}
}
RULES The Industrial Standard vs. The "Wrong Way"
To maintain architectural integrity, always follow the Unified Platform API guide:
| Feature | WRONG The Outdated Way |
RIGHT The Fluxy Standard |
|---|---|---|
| Plugin Access | FluxyPluginEngine.find<Plugin>() |
Fx.platform.<module_name> |
| Registration | Manual Fluxy.register() in main.dart |
CLI fluxy module add + Fluxy.autoRegister() |
| Logic/UI | Checking permissions inside UI builders | Using reactive Fx() status signals |
| Networking | Manual token headers in every call | Automatic Auth Interceptors via Fx.http |
Common Pitfalls & Fixes
- "Plugin is null": Ensure you've run
fluxy module add <name>and calledFluxy.autoRegister(). - "UI doesn't update": Always wrap your platform-dependent UI in an
Fx(() => ...)builder. - "Permission Denied": Use the platform helper
Fx.platform.permissionsinstead of raw Flutter plugins.
v1.2.1 Modular Packages:
fluxy_animations- Elite motion and fluid UINEWfluxy_camera- Camera functionalityfluxy_auth- Authentication and biometricsfluxy_notifications- Push notificationsfluxy_storage- Data persistencefluxy_test- Testing utilitiesfluxy_analytics- Analytics and trackingfluxy_biometric- Biometric authenticationfluxy_connectivity- Network connectivityfluxy_permissions- Device permissionsfluxy_platform- Platform integrationfluxy_ota- Over-the-air updatesfluxy_haptics- Sensory feedbackfluxy_logger- Industrial auditingfluxy_device- Environment awarenessfluxy_websocket- Managed WebSocketsfluxy_sync- Persistent hydrationfluxy_presence- Collaborative statefluxy_geo- Geofencing enginefluxy_stream_bridge- Native Stream DSL
v0.2.5 Platform Modules:
- Full compatibility with latest platform versions
- Automatic permission handling for Android 13+ and iOS
- Robust "Exact Alarm" fallback logic for notifications
STRENGTH Core Pillars
1. The Stability Kernel (Resilience)
The framework proactively monitors the render tree. If a layout violation is detected (e.g., an unbounded height inside a scrollable), the Kernel intercepts the exception and applies an Auto-Repair (clamping the height to the viewport) to keep the app interactive while logging a diagnostic trace.
2. Universal Modifier DSL (Speed)
Development speed is accelerated through a chainable modifier system. Every Fx widget supports 100+ modifiers for layout, styling, and motion, which are strictly typed and mirrored into a FxStyle object for state-based logic.
3. Professional Logging System (v0.2.6)
Fluxy v0.2.6 introduced an industrial-grade logging system that replaces emoji-based logs with semantic bracketed tags for better readability and professional debugging:
// Professional Log Tags
[KERNEL] [SYS] [DATA] [IO] // System components
[INIT] [READY] [AUDIT] [REPAIR] [FATAL] [PANIC] // Log levels
[EXPERIMENTAL] // Experimental features
Key Features:
- Semantic Tags:
[KERNEL]for core operations,[SYS]for system events - Standardized Levels:
[INIT]for startup,[READY]for operational state - ASCII Framing: Clean diagnostic summaries without visual clutter
- Experimental Guardrails: Clear warnings for OTA, SDUI, and Cloud CLI features
4. Unified Hardware Access (Consistency)
Accessing Fx.camera, Fx.biometric, or Fx.notifications follows a consistent pattern. All modules share the same permission handling, error reporting, and reactive status signals.
STATUS Roadmap & Active Development
Fluxy is under active development with a focus on enterprise-grade features.
PROGSDUI (Server-Driven UI): Universal JSON-to-Fluxy renderer with dynamic styling.EXPERIMENTALPROGFluxy Cloud CLI: Automated CI/CD scaffolding for Android/iOS with zero-config GitHub Actions.EXPERIMENTALPROGTime-Travel Debugging: Advanced state inspection in the DevTools timeline.PROGOTA (Over-the-Air) Style Updates: Update app branding and themes without a Store release.EXPERIMENTAL
Recent Releases
- v1.2.1 (2026-03-07): Elite Motion Release
- v1.2.0 (2026-03-02): Industrial Engine Release
- v1.1.0 (2026-02-28): Stability Kernel & Real-Time Expansion
- v1.0.1 (2026-02-24): Industrial Stability Update
- v1.0.0 (2026-02-23): Modular Architecture with 11+ packages
COMMUNITY Support & Contribution
We are seeking contribution from the community to make Fluxy the default standard for professional Flutter apps.
How to Support:
CONTRIBUTE: Submit PRs for Core Plugins or Layout Modifiers.FEEDBACK: Document edge cases where the Stability Kernel should intercept.SHARE: If Fluxy helped you clear a production deadline, share your success story.
DOCS Visit the Official Documentation Site for in-depth implementation guides.
LEGAL Enterprise Reliability
Fluxy is designed for environments where failure is not an option. It provides the structural integrity, global error boundaries, and architectural authority required for large-scale, mission-critical applications.
Standardize your Flutter engineering with Fluxy.
Libraries
- core/registry/fluxy_registry
- THIS FILE IS AUTO-GENERATED BY THE FLUXY CLI. DO NOT EDIT MANUALLY.
- fluxy