rxflare 1.3.1 copy "rxflare: ^1.3.1" to clipboard
rxflare: ^1.3.1 copied to clipboard

A high-performance reactive state management library for Flutter featuring automatic dependency tracking and granular field-level updates.

Changelog #

1.3.1 - 2026-04-28 #

Added #

  • 引入 RxBuilder 组件:

  • 提供了一个标准的 StatelessWidget 包装器,方便在 Widget 树中直接进行响应式局部刷新。

  • 示例:

Dart
RxBuilder(
  builder: (context) => Text('当前计数: ${count.value}'),
)

1.3.0 - 2026-04-25 #

Added #

  • 🚀 引入全新响应式路由系统 RxRouter:基于 RxState 驱动的 Navigator 2.0 路由管理方案。

  • 🧭 多栈管理机制:

    • 支持全局根栈(memPages
    • 支持多 Tab 局部栈(tabPages)独立并行管理
  • ✨ 声明式 + 命令式统一 API:

    • rxr.to('/path')
    • rxr.back() 内部自动映射为声明式状态更新
  • 🔗 动态路径匹配:

    • 支持 /user/:id 形式路径参数
    • 支持完整 URL Query 参数解析
  • 🛡️ 路由守卫(Guard):

    • RxDef 中支持异步拦截逻辑
    • 可用于登录校验、权限控制等场景
  • 📦 强类型参数传递:

    • 基于 RxArgs 实现对象级参数传递
    • 自动生命周期管理与回收
  • 🔄 异步结果回传:

    • to<T>() 返回 Future<T?>
    • 支持 back(result: ...) 回传页面结果
  • 🌐 Web 适配支持:

    • 提供 RxRouteParserRxRouterDelegate
    • 支持浏览器地址栏同步
    • 支持手动输入 URL 解析
  • 🧩 内置 KeepAliveWrapper

    • 优化 Tab 切换时的页面状态保持

1.2.0 - 2026-04-18 #

Added #

  • 新增泛型扩展 RxAnyExtension<T>,支持任意对象通过 .obs 快速转换为 RxState<T>
    final user = User().obs;
    final count = 1.obs;
    
  • 统一 .obs 使用方式,减少对基础类型(int、String 等)的重复扩展依赖。

1.1.9 - 2026-04-08 #

  • 优化了文档可读性。

1.1.8 - 2026-04-07 #

  • 完善了 API 文档注释 (Completed documentation comments).
  • 优化了文档可读性。

1.1.7 - 2026-04-07 #

  • 修复了示例代码中的错误。

1.1.6 - 2026-04-07 #

  • 补全了示例项目 (Full demo project implementation).

1.1.5 - 2026-04-05 #

  • 优化了嵌套依赖处理逻辑 (Nested dependency handling):
    RxA(() {
      RxB(() {
        // 嵌套依赖支持
      });
    });
    

1.1.4 -2026-04-01 #

  • 增加例子 列表字段更新 map字段更新

Changelog #

1.1.3 - 2026-03-28 #

  • Fixed analyzer warnings to improve package health.
  • Improved type safety in rx_get.
  • Cleaned up documentation comments for better IDE support.

1.1.1 - 2026-03-21 #

Changed #

  • 核心响应式逻辑更新,优化了性能。

1.0.0 - 2026-03-18 #

Added #

  • 增加 listen 接口,支持对数据变化的监听。
  • 正式发布 1.0.0 稳定版。

0.0.4 - 2026-03-10 #

  • 修改并优化了示例代码 (Demo)。

0.0.3 - 2026-03-05 #

Added #

  • 新增核心响应式组件:rx_event_simple, rx_future, RxValue<T>, RxStore<T>, RxNotifier<T>
  • 添加了自定义 Demo 演示。

0.0.1 - 2025-06-04 #

  • Initial release of rxflare.
2
likes
145
points
493
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A high-performance reactive state management library for Flutter featuring automatic dependency tracking and granular field-level updates.

Repository (GitHub)
View/report issues

Topics

#state-management #reactive #flutter-widgets #performance

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rxflare