0 ratings0% found this document useful (0 votes) 135 views1 pageGoogle Flutter PDF
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
1. Introduction
Flutter is Google's mobile SDK for crafting high-quality native interfaces on iOS and Android in
record time. Flutter works with existing code, is used by developers and organizations around the
world, and is free and open source.
In this codelab, you'll create a simple Flutter app. If you are familiar with object-oriented code and
basic programming concepts such as variables, loops, and conditionals, you can complete this
codelab. You don't need previous experience with Dart or mobile programming.
What you'll learn in part 1
+ Howto write a Flutter app that looks natural on both iOS and Android
+ Basic structure of a Flutter app
‘+ Finding and using packages to extend functionality.
‘+ Using hot reload for a quicker development cycle.
‘+ How to implement a stateful widget.
‘+ How to create an infinite, lazily loaded list.
In part 2 of this codelab, you'll add interactivity, modify the app’s theme, and add the ability to
navigate to a new page (called a route in Flutter).
What you'll build in part 1
You'll implement a simple mobile app that generates proposed names for a startup company. The
user can select and unselect names, saving the best ones. The code lazily generates ten names at a
time. As the user scrolls, new batches of names are generated. The user can scroll forever, with new
names being continually generated,
The animated GIF shows how the app works at the completion of part 1:
2. Set up your Flutter environment
You need two pieces of software to complete this lab: the Flutter SDK, and an editor. This codelab
assumes Android Studio, but you can use your preferred editor
You can run this codelab using any of the following devices:
‘+ Aphysical device (Android or iOS) connected to your computer and set to developer mode.
© The iOS simulator,
(Requires installing XCode tools.)
‘+The Android emulator. (Requires setup in Android Studio.)