flutty_state 0.1.0 copy "flutty_state: ^0.1.0" to clipboard
flutty_state: ^0.1.0 copied to clipboard

Lightweight and reactive state management solution for Flutter.

flutty_state #

pub package pub points likes

Lightweight and reactive state management solution for Flutter.

Installation #

dependencies:
  flutty_state: ^0.1.0

Usage #

import 'package:flutty_state/flutty_state.dart';

// Create a notifier
final counter = FluttyNotifier<int>(0);

// Use in a widget
FluttyBuilder<int>(
  notifier: counter,
  builder: (context, value) => Text('Count: $value'),
);

// Update
counter.update(42);
counter.modify((current) => current + 1);

API Documentation #

See the API docs for full documentation.

3
likes
0
points
380
downloads

Publisher

unverified uploader

Weekly Downloads

Lightweight and reactive state management solution for Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutty_state