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

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

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 = $state(0);

    void increment() => count.set(count.get() + 1);

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

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
0
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

Funding

Consider supporting this project:

github.com
github.com
opencollective.com

License

unknown (license)

Dependencies

flutter

More

Packages that depend on odroe