Home Page Icon
Home Page
Table of Contents for
Programming Flutter
Close
Programming Flutter
by Carmine Zaccagnino
Programming Flutter
 Acknowledgments
 Preface
A Brief History of Flutter
Why Flutter Matters and What We’ll See in This Book
Don’t Know Dart? Don’t Worry About It
Installing the SDK and the IDE Plugins
Where We’re Going Next: Let’s Start Building Apps
Part I. Getting Started with Flutter
1. Making Your First Flutter App
Get Familiar with Dart Syntax and Flutter Classes
Give the App Your Personal Touch
Where We’re Going Next
2. Laying Out More Widgets
Introducing Layout Widgets
Contain and Add Padding to Widgets Using Invisible Layout Widgets
Add Your Own Assets to the App
Displaying Images
Vertical Layout
Horizontal Layout: The Row
Making Grids
The Card
Fill the Space Available in the View Using Expanded
Slivers, Custom Scrollables, and Collapsable App Bars
The Key
Where We’re Going Next
3. Building a Calculator App
Importing Basic Dependencies
Writing main
The Calculator’s Home Page
How the App Will Be Structured
Implement the Basic Layout
Let’s Give the Calculator a Screen
Add the Deletion Row
The Third Row
Why a GridView Wouldn’t Work
Make the App Look and Work Right with Expanded
The Finished Layout
Implement the Calculations
Use the Calculation Inside the App
Wrapping Up the Calculator
What If We Try to Divide by 0?
Where We’re Going Next
4. Beyond the Standard Library: Plugins and Packages Beyond the Standard Library: Plugins and Packages
An Introduction to Packages
Package Usage Example
Making Your Own Packages
Publishing a Package to Pub
Packages for Windows, macOS, and Linux
Where We’re Going Next
Part II. Doing More with Flutter
5. Network and Storage I/O and Navigation
The API
The http Package
Writing Methods to Fetch Comics
What You Need to Build the UI: Navigation and the InheritedWidget
Build the App’s Basic UI
Building the Comic Page
Using the CircularProgressIndicator
Making Everything Faster by Caching to Local Storage
Allowing the User to Click the Image and Go to the Website: The url_launcher Package
Adding Comic Selection by Number
Permanent Data I/O in Flutter: Adding “Starred” Comics
Where We’re Going Next
6. Testing and Debugging Flutter Apps
Testing
Testing the XKCD App: Using Mock Objects
Throwing and Catching Exceptions
Assert Statements
Where We’re Going Next
7. Build a Chat App Using Firebase
What Is Firebase?
Animations and Transistions
Custom Shapes and Drawing in Flutter Apps Using Painters
The StreamBuilder
Building the Chat App
Where You’re Going Next
A1. Introduction to Dart
Comments in Dart
Variables and Conditions
Functions
main
Asynchronous Code in Dart: The dart:async Library
Conditional Constructs and Expressions
Loops: while, do while, and for
Classes
Typedef and Callbacks
Mastering import
Conversion Between Native Java/Apple and Dart Data Types
Where You’re Going Next
A2. Apple-Like Look and Additional App Configuration Apple-Like Look and Additional App Configuration
Cupertino Widgets
pubspec.yaml
Platform-Specific Setup
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
Where You’re Going Next
Next
Next Chapter
A1. Introduction to Dart
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