odroe 0.0.8 copy "odroe: ^0.0.8" to clipboard
odroe: ^0.0.8 copied to clipboard

A declarative, efficient, and flexible Flutter UI framework for building user interfaces.

Odroe #

Pub Version GitHub License Website GitHub Sponsors Open Collective sponsors Discord X (formerly Twitter) Follow

Odroe is a declarative Flutter UI framework used to create user interfaces. It is built on top of Flutter and updated with fine-grained reactions. Declare your state and use it throughout the entire application, and only code that depends on it will rerun when the state changes.

import 'package:flutter/material.dart';
import 'package:odroe/odroe.dart';

Widget counter() => setup(() {
    final count = signal(0);

    void increment() => count.value++;

    return () => TextButton(
        onPressed: increment,
        child: Text('Count: ${count.value}'),
    );
});

Features #

  • Compatibility, Setup Widget is fully compatible with Flutter Class WIdget and can be used with each other.
  • Refined, the amount of code is significantly reduced compared to Class Widget.
  • Reactive, your state has reactive primitives, which are based on the Signal design.
  • Simple, Setup Widget is a typical functional widget, learn some powerful concepts of composition, reusability and construction.

Why Odroe #

Odroe adopts functional Widget design (we call it Setup Widget), which draws on years of experience in building web front-end frameworks to make it easier for you to write Widgets.

1
likes
140
pub points
0%
popularity

Publisher

verified publisherodroe.com

A declarative, efficient, and flexible Flutter UI framework for building user interfaces.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

github.com
opencollective.com

License

MIT (LICENSE)

Dependencies

flutter, signals_core

More

Packages that depend on odroe