main function
void
main()
Dart Board Redux Example
Goals: To create a Redux State, and then modify it in a variety of practical ways.
- Dispatch Actions
- Use Middleware
- Listen to Changes
To do this, we'll create an Example Extension with a UI route We'll also provide a Redux State and some Middleware Add buttons that dispatch actions/manipulate state
Finally, we'll use the State Listener widget to update Our entry point, Starts DartBoard at the /example route
Implementation
/// Our entry point, Starts DartBoard at the /example route
void main() =>
runApp(DartBoard(initialPath: '/example', features: [ExampleLocator()]));