Basic Dogs App Setup

It's a Good Framework, Brant.

In this basic app tutorial we'll build a very simple, pure Flutter app, inspired by the greatest Twitter conversation of all time — the We Rate Dogs v. Brant showdown of 2012.

The idea here is that we won't pull in any extra packages, we won't think about architecture or state management. We'll just use the tools that Flutter gives us out of the box to learn the basics.

By the end of this, you should be pretty amazed by how much Flutter gives us out of the box — and we won't cover nearly everything.

This is what you're making:

add doggood dogs

Finished source code: We Rate Dogs example app

We'll just start this from a fresh app. Once you have Flutter installed on your machine and your environment set up, create a new Flutter app:

  1. flutter create basic_flutter_app
  2. cd basic_flutter_app
  3. flutter run

Alternatively you can clone the pre-generated app from GitHub.

  1. git clone https://github.com/ericwindmill/flutter_by_example_apps.git
  2. cd flutter_by_example_apps/blank_flutter_app
  3. flutter packages get
  4. flutter run

This will give you a fresh, blank Flutter app.