Download the codelab starter app

Option 1: Clone the starter codelab app from GitHub

To clone this codelab from GitHub, run the following commands:

git clone -b codelabs
cd clean_framework

Option 2: Download the starter codelab app zip file

Download starter app

Adding clean_framework package as a dependency#

The project depends on the clean_framework package. In the pubspec.yaml, add the following to dependencies section:

clean_framework: any

Or you can just add the package directly using the following command:

flutter pub add clean_framework

Open the project and run the app#

  1. Open the project in your editor of choice
  2. Follow the instruction to Run the app in Get Started: Test drive for your chosen editor.

Success! The starter code for Feature Flag should be running on your device/emulator. You should see a login page.