Fluxy

Flutter to Fluxy Dictionary

A quick mapping guide for developers moving from standard Flutter syntax to Fluxy's atomic DSL.

Flutter to Fluxy Dictionary

If you are coming from standard Flutter, you might be looking for familiar widgets like Container, Column, or Padding. Fluxy provides semantic shorthands for these to reduce boilerplate and improve readability.

Use this dictionary to find the Fluxy equivalent of common Flutter components and jump to their In-depth Documentation.


1. High-Level Shell & App Architecture

Fluxy defines the entire application skeleton with high-level builders that replace the verbose boilerplate of MaterialApp and Scaffold.

Flutter ComponentFluxy EquivalentAdvantageDetails
MaterialAppFluxyAppBuilt-in reactive theme matching, router integration, and global error handling.View Docs
ScaffoldFx.scaffold()Standard screen shell with pre-styled defaults and notch awareness.View Docs
AppBarFx.appBar()Clean, declarative header with industrial styling and action registry.View Docs
BottomNavigationBarFx.bottomNav()Premium pill-style animated navigation. Context-free state binding.View Docs
DrawerFx.sidebar() / .drawer()Automatically switches between mobile Drawer and desktop Sidebar.View Docs
Web Main ContainerFx.page()Scaffolding with a centered container perfect for web splash/auth pages.View Docs

2. Core Layout & UI

Flutter WidgetFluxy SyntaxWhy use Fluxy?Details
ContainerFx.box()Atomic chaining for colors, borders, and shadows without BoxDecoration.View Docs
Padding.p(16)Direct modifier on any widget. No more nesting hell.View Docs
ColumnFx.col()Integrated gap property and intuitive alignment modifiers.View Docs
RowFx.row()Integrated gap and standard flex behavior.View Docs
StackFx.stack()Cleaner layering with automated alignment helpers.View Docs
SizedBoxFx.gap(16)Use Fx.gap for spacing and .wh(w, h) for fixed dimensions.View Docs
Center.center() / Fx.center()A simple modifier available on all Fx components.View Docs
Expanded.expand() / Fx.expand()Chainable modifier to fill available space in flex layouts.View Docs
Opacity.opacity(0.5)Smooth, chainable visual modifier.View Docs
SafeAreaFx.safe() / .safe()Handles notches and system bars with one call.View Docs
InkWell / GestureDetector.onTap(() => ...)Add interactivity to any widget without wrapping.View Docs
HeroFx.hero()Standard Hero transitions with simplified tagging.View Docs

3. Text & Typography

Flutter StyleFluxy ModifierDescriptionDetails
TextStyle(fontWeight: FontWeight.bold).bold()Quick bold toggle.View Docs
TextStyle(fontSize: 24).font(24) / .h1()Size tokens or direct values.View Docs
TextStyle(color: Colors.grey).muted() / .color()Automatic semantic coloring.View Docs
TextAlign.center.alignCenter()Text alignment modifier.View Docs
maxLines: 2.maxLines(2)Direct overflow control.View Docs

4. Lists, Grids & Scrolling

Flutter WidgetFluxy SyntaxAdvantageDetails
SingleChildScrollViewFx.scroll()Simplified scroll container with better defaults.View Docs
ListView.builderFx.list()Automated virtualization and reactive item binding.View Docs
GridViewFx.grid()Responsive layouts (1, 2, 4 cols) in one line.View Docs
RefreshIndicatorFx.refresh()Premium pull-to-refresh with industrial styling.View Docs
CustomScrollViewFx.viewport()Atomic viewport management using slivers.View Docs
SliverToBoxAdapterFx.sliver()Automatically converts any widget into a sliver.View Docs
WrapFx.wrap()Semantic wrapping for chips and tags with gaps.View Docs

5. State & Logic

Flutter / Provider ConceptFluxy EquivalentDescriptionDetails
setState(() => ...).value = ...Updating a signal automatically triggers local UI refresh.View Docs
ValueNotifierflux(initialValue)The core reactive primitive of Fluxy.View Docs
Provider.of<T>(context)Fluxy.find<T>()Global or scoped dependency injection.View Docs
FutureBuilderfluxAsync(() => ...)Handling async data with elegant loading/error states.View Docs
Navigator.pushFx.to(page)Type-safe, boilerplate-free navigation.View Docs
undo / redofluxHistory()State collection with built-in time travel.View Docs

6. Feedback & Hardening

Flutter ComponentFluxy SyntaxDescriptionDetails
ScaffoldMessenger (SnackBar)Fx.toastFx.toast.success("Done!") from anywhere.View Docs
showDialogFx.dialog()Semantic, styled overlay boxes.View Docs
CircularProgressIndicatorFx.loader()High-performance industrial loading animations.View Docs
Shimmer (v3 plugin)Fx.shimmer()Native-backed kinetic loading skeletons.View Docs
Error BoundaryFluxyErrorBoundaryStability Kernel protection for widget crashes.View Docs
Feature TogglesFx.feature()Remotely enable/disable UI sections.View Docs

7. Advanced Layout Shelfs

Fluxy provides high-level "Shelfs" that replace 100s of lines of boilerplate for common app architectures.

Standard FlutterFluxy ShelfPurposeDetails
Manual Sidebar + AppbarFx.dashboard()Complete Admin shell with mobile/desktop parity.View Docs
Custom Nav Bar RowFx.navbar()Type-safe navigation header with action registry.View Docs
Vertical List + HeaderFx.sidebar()Industrial-grade sidebar with auto-scrolling items.View Docs
Responsive Value LogicFx.on(context)Clean mobile: child, desktop: child switcher.View Docs

8. Common Components & Forms

Flutter WidgetFluxy SyntaxAdvantageDetails
ElevatedButtonFx.button().primary()Pre-styled, chainable buttons with loading states.View Docs
TextButtonFx.button().ghost()Clean text buttons without elevation.View Docs
TextFieldFx.input() / Fx.field()Bound directly to reactives, integrated validation.View Docs
DropdownButtonFx.dropdown()Fully styled dropdown that just requires a Signal.View Docs
Image.networkFx.img()Automatic caching, seamless loading/error states, and shapes.View Docs
CircleAvatarFx.avatar()Instant sizing, fallback initials, and image support.View Docs
DataTableFx.table()Boilerplate-free, responsive row handling.View Docs
BadgeFx.badge()Perfect industrial badges for status indicators.View Docs

The Power of Chaining

In standard Flutter, you might write:

Padding(
  padding: EdgeInsets.all(8.0),
  child: Container(
    width: 100,
    height: 100,
    decoration: BoxDecoration(
      color: Colors.blue,
      borderRadius: BorderRadius.circular(12),
    ),
    child: Center(
      child: Text("Fluxy"),
    ),
  ),
)

In Fluxy, you just type what you mean:

Fx.text("Fluxy")
  .center()
  .box
  .wh(100, 100)
  .bg(Colors.blue)
  .rounded(12)
  .p(8)

Fluxy's Semantic Parser translates these chains into an optimized, flat Flutter widget tree, giving you better performance and much cleaner code.

On this page