Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Programming Flutter
About the Pragmatic Bookshelf
Table of Contents
Early Praise for 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 A pps
Part 1: Getting Started with Flutter
Chapter 1: Making Your First Flutter App
Get Familiar with Dart Syntax and Flutter Clas ses
Give the App Your Personal Touch
Where We’re Going Next
Chapter 2: Laying Out More Widgets
Introducing Layout Widgets
Contain and Add Padding to Widgets Using Invis ible 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 Vie w Using Expanded
Slivers, Custom Scrollables, and Col lapsable App Bars
The Key
Where We’re Going Next
Chapter 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 S creen
Add the Deletion Row
The Third Row
Why a GridView Wouldn’t Work
Make the App Look and Work Righ t 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
Chapter 4: 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 2: Doing More with Flutter
Chapter 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 CircularProgressIndic ator
Making Everything Faster by Cach ing to Local Storage
Allowing the User to Click the Image and Go t o the Website: The url_launcher Package
Adding Comic Selection by Number
Permanent Data I/O in Flutter: Adding “Starre d” Comics
Where We’re Going Next
Chapter 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
Chapter 7: Build a Chat App Using Firebase
What Is Firebase?
Animations and Transistions
Custom Shapes and Drawing in Flutter Apps Usi ng Painters
The StreamBuilder
Building the Chat App
Where You’re Going Next
Appendix 1: Introduction to Dart
Comments in Dart
Variables and Conditions
Functions
main
Asynchronous Code in Dart: The dart:asyn c Library
Conditional Constructs and Expres sions
Loops: while, do while, and for
Classes
Typedef and Callbacks
Mastering import
Conversion Between Native Jav a/Apple and Dart Data Types
Where You’re Going Next
Appendix 2: Apple-Like Look and Additional App Configuration
Cupertino Widgets
pubspec.yaml
Platform-Specific Setup
You May Be Interested In…
← Prev
Back
Next →
← Prev
Back
Next →