app_state 0.9.4 copy "app_state: ^0.9.4" to clipboard
app_state: ^0.9.4 copied to clipboard

A state management solution on top of Router API for larger apps.

example/README.md

The gallery of runnable examples is here: https://github.com/alexeyinkin/flutter-app-state-examples

1. Bare Minimal App #

This app does nothing.

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/1_min

Bare Minimal App

2. The Book List App Without URLs #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/2_two_screens

Book List No URLs

3. The Book List App With URLs #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/3_web

Book List With URLs

4. Tabs with Independent Navigation Stacks #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/4_tabs

Tabs with Independent Navigation Stacks

5. Receiving the Dialog Result after the App Restart #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/5_route_result

Receiving the Dialog Result after the App Restart

6. Recovering Unsaved Input on Back and Forward Navigation #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/6_forward_recovery

Recovering Unsaved Input on Back and Forward Navigation

7. Pushing one pop-up screen to any tab #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/7_any_tab

Recovering Unsaved Input on Back and Forward Navigation

8. Using enum_map package for higher compile-time safety of tabs #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/8_enum_map

9. Using BLoC, Cubit, and ChangeNotifier for state management of pages #

Runnable project: https://github.com/alexeyinkin/flutter-app-state/tree/main/app_state/example/lib/9_state

60
likes
130
pub points
82%
popularity

Publisher

verified publisherainkin.com

A state management solution on top of Router API for larger apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT-0 (LICENSE)

Dependencies

collection, flutter, flutter_issue_108697_workaround, meta, rxdart

More

Packages that depend on app_state