05 AMP in Flutter LAB 1 (First Flutter App)
05 AMP in Flutter LAB 1 (First Flutter App)
Exercise 1
In this exercise, you will create your first Flutter app
1. Invoke V
iew > Command Palette.
4. Create or select the parent directory for the new project folder.
6. Locate the VS Code status bar (the blue bar at the bottom of the window):
8. Invoke R
un > Start Debugging or press F
5
.
After the app build completes, you’ll see the starter app on your
device.
Flutter offers a fast development cycle with Stateful Hot Reload, the ability to reload
the code of a live running app without restarting or losing app stat
1. Open lib/main.dart.
'You have p
ushedthe button this many times'
to
'You have c
lickedthe button this many times'
.You’ll see the updated string in the running app almost immediately.
Exercise 2
In this exercise, you will create a simple “Hello World” Flutter app
screen
import 'package:flutter/material.dart';
Run the app. You should see the following on your device
.