Trple

Trple is a Dart package that provides an abstraction for the Segmented State Pattern, offering a robust solution for state management in Flutter applications.

Features

  • Implements the Segmented State Pattern
  • Provides a Store class for managing application state
  • Includes a StoreBuilder widget for easy integration with Flutter UI
  • Supports asynchronous state updates
  • Handles loading states and errors automatically
  • Offers a macro for generating boilerplate code

Getting Started

To use, include in your pubspec.yaml:

dependencies:
  trple: <last version>

Libraries

trple