flutter_package_state_manager 0.0.1 copy "flutter_package_state_manager: ^0.0.1" to clipboard
flutter_package_state_manager: ^0.0.1 copied to clipboard

A Flutter package for efficient state management without relying on existing state management solutions. It supports both simple and complex state types, with an intuitive API for synchronous and asyn [...]

Flutter Package State Manager #

A lightweight and easy-to-use state management package for Flutter applications.

Features #

  • Manage simple and complex state types.
  • Support synchronous and asynchronous state updates.
  • Observe and respond to state changes.

Example #

final manager = StateManager();

// Create state
manager.createState<int>('counter', 0);

// Update state
manager.updateState<int>('counter', 1);

// Reset state
manager.resetState<int>('counter', 0);

// Observe state changes
manager.observeState('counter', () {
  print("Counter updated: ${manager.getState<int>('counter')}");
});
3
likes
130
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for efficient state management without relying on existing state management solutions. It supports both simple and complex state types, with an intuitive API for synchronous and asynchronous updates, ensuring performance and scalability for diverse applications.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_package_state_manager