Author(s): Prajyot Mainkar Salvatore Giordano
Publisher: Packt>
Year: 2019
Language: English
Pages: 146
Cover......Page 1
Title Page......Page 2
Copyright and Credits......Page 3
Dedication......Page 4
About Packt......Page 5
Contributors......Page 6
Table of Contents......Page 8
Preface......Page 11
The origin of Flutter......Page 15
Native platforms......Page 16
WebView systems......Page 17
Other cross-platform approaches......Page 18
Flutter's approach......Page 19
Summary......Page 20
Installing Flutter on Windows......Page 21
Installing Flutter on Mac......Page 22
Getting familiar with IDEs......Page 23
Some quick tips for using your desired IDE......Page 24
Exploring a sample app......Page 25
Hot Reload......Page 26
Debugging an application......Page 27
Visual debugging......Page 28
The showPerformanceOverlay variable......Page 30
Flutter widget inspector......Page 31
Unit testing......Page 33
Widget testing......Page 34
Integration testing......Page 35
Summary......Page 36
Widgets Catalog......Page 37
Container......Page 38
Image......Page 40
Text......Page 41
Icon......Page 43
RaisedButton......Page 44
Scaffold......Page 45
AppBar......Page 46
PlaceHolder......Page 47
Column......Page 48
Row......Page 50
A note about Row, Column, and ListView......Page 52
Creating widgets......Page 53
Stateful widgets......Page 54
Routing and navigation......Page 55
Returning a value when navigating......Page 56
Summary......Page 57
Constraints in Flutter......Page 58
Introducing animations in Flutter......Page 59
ListView ......Page 60
Using List ......Page 61
Using ListView.Builder......Page 62
ListView separated by calling ListView.separated......Page 66
Using ListView.custom constructor......Page 68
Horizontal lists......Page 69
Grid lists ......Page 71
Summary......Page 73
Networking in Flutter......Page 74
Adding existing package dependency to an app......Page 75
Setting up JSON Server......Page 76
Building a resource file......Page 77
Fetching data from the server......Page 78
Large font......Page 83
Screen contrast......Page 84
Internationalizing Flutter apps......Page 85
Summary......Page 88
Chapter 6: Using a Platform to Power Flutter Apps......Page 89
Searching for the package......Page 90
Adding a package dependency to an app......Page 92
Adding the code to the file ......Page 93
Using platform channels......Page 96
Creating a Flutter platform client ......Page 98
Making changes to MainActivity.Java ......Page 101
Summary ......Page 107
Chapter 7: Firebase - Flutter's Best Friend......Page 109
Creating a Firebase project......Page 110
Registering an app using a package name......Page 113
Downloading and setting up the config file ......Page 114
Adding Firebase SDK......Page 115
Verifying the configuration......Page 116
Creating a Cloud Firestore Database......Page 117
Firebase Cloud Messaging......Page 126
Firebase Remote Config......Page 128
Summary......Page 129
Reviewing the AndroidManifest.xml file......Page 130
The build.gradle configurations......Page 131
Icons within apps......Page 132
Signing the app......Page 133
Using ProGuard......Page 134
Building a release APK......Page 135
Generating an application record on App Store connect......Page 136
Choosing the app icon......Page 138
Summary......Page 139
Other Books You May Enjoy......Page 140
Index......Page 143