Home Page Icon
Home Page
Table of Contents for
PART I: The Foundations of Flutter Programming
Close
PART I: The Foundations of Flutter Programming
by Marco L. Napoli
Beginning Flutter
COVER
INTRODUCTION
WHO THIS BOOK IS FOR
WHAT THIS BOOK COVERS
HOW THIS BOOK IS STRUCTURED
WHAT YOU NEED TO USE THIS BOOK
CONVENTIONS
ERRATA
PART I: The Foundations of Flutter Programming
1 Introducing Flutter and Getting Started
INTRODUCING FLUTTER
UNDERSTANDING WIDGET LIFECYCLE EVENTS
UNDERSTANDING THE WIDGET TREE AND THE ELEMENT TREE
INSTALLING THE FLUTTER SDK
CONFIGURING THE ANDROID STUDIO EDITOR
SUMMARY
2 Creating a Hello World App
SETTING UP THE PROJECT
USING HOT RELOAD
USING THEMES TO STYLE YOUR APP
UNDERSTANDING STATELESS AND STATEFUL WIDGETS
USING EXTERNAL PACKAGES
SUMMARY
3 Learning Dart Basics
WHY USE DART?
COMMENTING CODE
RUNNING THE MAIN() ENTRY POINT
REFERENCING VARIABLES
DECLARING VARIABLES
USING OPERATORS
USING FLOW STATEMENTS
USING FUNCTIONS
IMPORT PACKAGES
USING CLASSES
IMPLEMENTING ASYNCHRONOUS PROGRAMMING
SUMMARY
4 Creating a Starter Project Template
CREATING AND ORGANIZING FOLDERS AND FILES
STRUCTURING WIDGETS
SUMMARY
5 Understanding the Widget Tree
INTRODUCTION TO WIDGETS
BUILDING THE FULL WIDGET TREE
BUILDING A SHALLOW WIDGET TREE
SUMMARY
PART II: Intermediate Flutter: Fleshing Out an App
6 Using Common Widgets
USING BASIC WIDGETS
USING IMAGES AND ICONS
USING DECORATORS
USING THE FORM WIDGET TO VALIDATE TEXT FIELDS
CHECKING ORIENTATION
SUMMARY
7 Adding Animation to an App
USING ANIMATEDCONTAINER
USING ANIMATEDCROSSFADE
USING ANIMATEDOPACITY
USING ANIMATIONCONTROLLER
SUMMARY
8 Creating an App's Navigation
USING THE NAVIGATOR
USING HERO ANIMATION
USING THE BOTTOMNAVIGATIONBAR
USING THE BOTTOMAPPBAR
USING THE TABBAR AND TABBARVIEW
USING THE DRAWER AND LISTVIEW
SUMMARY
9 Creating Scrolling Lists and Effects
USING THE CARD
USING THE LISTVIEW AND LISTTILE
USING THE GRIDVIEW
USING THE STACK
CUSTOMIZING THE CUSTOMSCROLLVIEW WITH SLIVERS
SUMMARY
10 Building Layouts
A HIGH‐LEVEL VIEW OF THE LAYOUT
CREATING THE LAYOUT
SUMMARY
11 Applying Interactivity
SETTING UP GESTUREDETECTOR: THE BASICS
IMPLEMENTING THE DRAGGABLE AND DRAGTARGET WIDGETS
USING THE GESTUREDETECTOR FOR MOVING AND SCALING
USING THE INKWELL AND INKRESPONSE GESTURES
USING THE DISMISSIBLE WIDGET
SUMMARY
12 Writing Platform‐Native Code
UNDERSTANDING PLATFORM CHANNELS
IMPLEMENTING THE CLIENT PLATFORM CHANNEL APP
IMPLEMENTING THE iOS HOST PLATFORM CHANNEL
IMPLEMENTING THE ANDROID HOST PLATFORM CHANNEL
SUMMARY
PART III: Creating Production‐Ready Apps
13 Saving Data with Local Persistence
UNDERSTANDING THE JSON FORMAT
USING DATABASE CLASSES TO WRITE, READ, AND SERIALIZE JSON
FORMATTING DATES
SORTING A LIST OF DATES
RETRIEVING DATA WITH THE FUTUREBUILDER
BUILDING THE JOURNAL APP
SUMMARY
14 Adding the Firebase and Firestore Backend
WHAT ARE FIREBASE AND CLOUD FIRESTORE?
CONFIGURING THE FIREBASE PROJECT
ADDING A CLOUD FIRESTORE DATABASE AND IMPLEMENTING SECURITY
BUILDING THE CLIENT JOURNAL APP
SUMMARY
15 Adding State Management to the Firestore Client App
IMPLEMENTING STATE MANAGEMENT
BUILDING STATE MANAGEMENT
SUMMARY
16 Adding BLoCs to Firestore Client App Pages
ADDING THE LOGIN PAGE
MODIFYING THE MAIN PAGE
MODIFYING THE HOME PAGE
ADDING THE EDIT JOURNAL PAGE
SUMMARY
INDEX
END USER LICENSE AGREEMENT
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
INTRODUCTION
Next
Next Chapter
1 Introducing Flutter and Getting Started
PART I
The Foundations of Flutter Programming
CHAPTER 1
: Introducing Flutter and Getting Started
CHAPTER 2
: Creating a Hello World App
CHAPTER 3
: Learning Dart Basics
CHAPTER 4
: Creating a Starter Project Template
CHAPTER 5
: Understanding the Widget Tree
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset