Simple Flutter e-commerce mobile application that uses Triple (or Segmented State Pattern) for its state management.
Search products |
---|
- Searches products by a keyword from eBay Sandbox API (uses Executor).
- Handles state, loading, and error with
ScopedBuilder
. - Undo search via MementoMixin.
- Tracks errors with TripleObserver
- Overrides middleware for sorting products by its price.
- Persists last search result in shared preferences with HydratedMixin.
- Triple Testing
- Code documentation
flutter_triple: ^1.2.6
: For Triple (Segmented State Pattern).equatable: ^2.0.3
: For overriding==
operation of models.http: ^0.13.4
: For making HTTP requests.hydrated_triple: ^0.0.3
: For HydratedMixin (persisting state in shared preferences).triple_test: ^0.0.8
: Store testing.