fluxy 0.1.7 copy "fluxy: ^0.1.7" to clipboard
fluxy: ^0.1.7 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.

Fluxy: The Full-Stack Application Platform for Flutter #

Fluxy is a comprehensive development platform designed to extend the capabilities of Flutter. It unifies high-performance reactive state management, a declarative Atomic Styling DSL, cloud-based CI/CD orchestration, and Over-The-Air (OTA) distribution into a single, cohesive engine.

Fluxy is built for engineering teams who require rapid iteration, simplified state synchronization, and sophisticated infrastructure for mobile application deployment.

Pub Version License: MIT


Technical Overview #

Modern application development often faces challenges with widget tree depth, state management boilerplate, and sluggish deployment cycles. Fluxy addresses these bottlenecks by bringing a "SwiftUI-like" experience to Flutter.

Core Pillars #

  1. Signals-Based Reactivity: An atomic state management system based on dependency tracking, eliminating the need for setState, ChangeNotifier, or complex boilerplate.
  2. Atomic Styling DSL: A hyper-expressive, chainable API for building interfaces. Use shorthands like .p(16), .mt(8), and .shadowXL() to build complex UIs with 70% less code.
  3. Fluxy Cloud: An automated build and deployment orchestration layer using GitHub Actions for serverless CI/CD.
  4. Instant OTA (Server-Driven UI): A SDUI engine that allows developers to update application logic and interfaces instantly without re-submitting to App Stores.
  5. Integrated DevTools: A premium reactive graph inspector and state debugger built directly into the framework.

Feature Comparison #

Capability Standard Flutter Fluxy Platform
State Management Provider / BLoC / Riverpod Signals (Atomic Dependency Tracking)
UI Paradigm Nested Widget Trees Chainable Atomic DSL (Fluent)
Build Pipeline Manual Native Compilation Fluxy Cloud (GitHub Actions Integration)
Distribution App Store / Play Store Review Instant OTA (Server-Driven UI)
Developer Tools External DevTools Integrated In-App Reactive Inspector

Installation #

Add Fluxy to your pubspec.yaml file:

dependencies:
  fluxy: ^0.1.7

Then, activate the Fluxy CLI globally for project orchestration:

dart pub global activate fluxy

Fluxy 0.1.5 introduces the Next-Gen Layout System, a declarative, named-parameter approach to building responsive interfaces.

1. Advanced Grid Engine #

Build responsive grids without complex logic.

// Automatic column calculation based on available width
Fx.grid.auto(
  minItemWidth: 160,
  gap: 16,
  children: products.map(ProductCard.new).toList(),
)

// Explicit responsive control
Fx.grid.responsive(
  xs: 1, sm: 2, md: 3, lg: 4,
  gap: 20,
  children: cards,
)

2. Semantic Layout Presets #

Rapidly scaffold common UI patterns with pre-configured defaults.

Fx.grid.cards(children: products)
Fx.grid.gallery(cols: 3, children: images)
Fx.grid.dashboard(children: charts)

3. Adaptive Layout Switcher #

Seamlessly transition between device types.

Fx.layout(
  mobile: Fx.col(children: [Menu(), Gallery()]),
  tablet: Fx.grid(cols: 2, children: [Menu(), Gallery()]),
  desktop: Fx.grid(cols: 4, children: [Sidebar(), Menu(), Gallery()]),
)

4. Explicit Flex Layouts #

Avoid deep nesting and ambiguous modifiers.

Fx.row(
  justify: MainAxisAlignment.spaceBetween,
  items: CrossAxisAlignment.center,
  gap: 12,
  children: [Logo(), NavLinks(), Profile()]
)

What's New in 2.0 DSL #

1. Enhanced Input System #

A production-grade text input supporting validation, formatting, and focus control.

Fx.input(
  signal: email,
  placeholder: "Enter email",
  keyboardType: TextInputType.emailAddress,
  inputFormatters: [LengthLimitingTextInputFormatter(50)],
  validators: [
    (val) => val.contains('@') ? null : "Invalid email",
    (val) => val.length > 5 ? null : "Too short"
  ]
)

2. Spacing & Layout DSL #

Gone are the days of manual SizedBox. Use fluent gaps and spacing.

Fx.row(
  children: [
    Fx.text("Item 1"),
    Fx.gap(16),       // Intelligent Gap
    Fx.text("Item 2"),
    Fx.hgap(8),       // Horizontal Gap
    Fx.text("Item 3"),
  ]
).gap(12) // Flex gap

3. Declarative Conditionals #

Cleaner conditional rendering without ternary clutter.

Fx.cond(
  isLoading,
  Fx.text("Loading..."),
  Fx.button("Submit")
)

4. Duration Extensions #

Readable time definitions.

Fx.text("Fade In")
  .animate(
    duration: 500.ms,
    delay: 1.sec,
    fade: 0.0
  )

---

## What's New in 0.1.7

### 1. High-Performance Image FX
Apply cinematic filters directly to your image widgets using native modifiers.

```dart
Fx.image("https://api.dicebear.com/7.x/pixel-art/svg")
  .blur(4)        // Real-time Gaussian blur
  .grayscale()    // Instant B&W filter
  .circle()       // Perfect circular clipping
  .size(120)

2. Automatic Transitions & Interactivity #

Turn any static widget into an animated component with a single chainable modifier.

Fx.box()
  .bg(Colors.blue)
  .p(isExpanded ? 40 : 20)
  .rounded(isExpanded ? 32 : 8)
  .transition(400.ms) // Every style change above is now smoothly interpolated

3. Advanced Typography & Layout #

Rapidly prototype with high-contrast text and fluid entrance animations.

Fx.col(
  children: [
    Fx.text("Dashboard").whiteText().font.xxl().bold(),
    Fx.text("Ready for launch").blackText().muted(),
  ]
).stagger(0.1) // Sub-elements slide-in sequentially

---

## Core Framework Usage

### Atomic Styling DSL

```dart
Fx.scaffold(
  appBar: Fx.appBar(title: "Fluxy 2.0"),
  body: Fx.col(children: [
    Fx.text("Upgrade Complete").font.xl.bold.center(),
    
    // Scrollable list with container styling
    Fx.list(children: [
      Fx.text("Feature A").p(12).bg.slate50,
      Fx.text("Feature B").p(12).bg.slate50,
    ])
    .gap(8)
    .padding(16)
    .border(Colors.grey)
    .expand() // Fills remaining space
  ])
)

Reactive State Management #

Fluxy utilizes Signals to manage state. A signal is an atomic value that tracks its subscribers and notifies them only when the value changes.

// Define a reactive signal
final count = flux(0);

// Consume in a reactive UI
Fx.column(
  children: [
    Fx.text(() => "Current Value: ${count.value}").font(32).bold(),
    Fx.button("Increment", onTap: () => count.value++)
  ]
).center();

Command Line Interface (CLI) #

The Fluxy CLI facilitates project scaffolding and cloud integration.

  • Initialization: fluxy init <app_name> - Scaffolds a new project with the Fluxy architecture.
  • Development: fluxy run - Optimized development runner.
  • Cloud Builds: fluxy cloud build <android|ios> - Configures GitHub Actions for automated cloud builds.
  • Deployment: fluxy cloud deploy - Sets up automated deployment to TestFlight and Google Play.

Documentation and Community #


License #

Fluxy is released under the MIT License. Copyright © 2026. All rights reserved.


Build faster. Write cleaner. Scale confidently.

1
likes
0
points
867
downloads

Publisher

unverified uploader

Weekly Downloads

A complete Flutter platform unifying reactive state, declarative UI, styling, animation, routing, and tooling. Build production-grade apps faster and at scale.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

args, flutter, flutter_secure_storage, path, path_provider, shared_preferences

More

Packages that depend on fluxy