Skip to content

Latest commit

 

History

History

samples_patterns

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

monarch_samples_patterns

Monarch sample code and stories using several patterns.

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs. Find out more at https://monarchapp.io

This project provides examples of using Monarch with the following patterns:

  • bloc
  • cubit
  • lists
  • internationalization
  • provider
  • change notifier
  • themes
  • dialogs, alerts, banners
  • widget tests
  • animations
  • navigation
  • images

Running the sample stories

  1. Make sure you already have Monarch installed.
  2. flutter pub get
  3. monarch run

Running the sample tests

The sample code for how to call stories from tests is under the test directory. To run the tests use flutter test or run it directly from your IDE.