Muutke küpsiste eelistusi

E-raamat: Beginning App Development with Flutter: Create Cross-Platform Mobile Apps

  • Formaat: PDF+DRM
  • Ilmumisaeg: 04-Dec-2019
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484251812
  • Formaat - PDF+DRM
  • Hind: 61,74 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Ilmumisaeg: 04-Dec-2019
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484251812

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Create iOS and Android apps with Flutter using just one codebase.  App development on multiple platforms has historically been difficult and complex. This book breaks down complex concepts and tasks into easily digestible segments with examples, pictures, and hands-on labs with starters and solutions. 

In doing so, you'll develop a basic understanding of the Dart programming language; the entire Flutter development toolchain; the differences between stateful and stateless widgets; and a working knowledge of the architecture of apps. All the most important parts of app development with Flutter are covered in this book. Work with themes and styles. Develop custom widgets. Teach your app to respond to gestures like taps, swipes, and pinches. Design, create and control the layout of your app. Create tools to handle form data entry from users. And ultimately create killer multiscreen apps with navigation, menus, and tabs.

Flutter is Google's new framework for creating mobile apps that run on iOS and Android phones both.You had to be a super-developer to write apps for iOS or Android alone. But writing for both? Forget about it! You had to be familiar with Swift, Java/Kotlin, Xcode, Eclipse, and a bunch of other technologies simultaneously. Beginning App Development with Flutter simplifies the entire process.



What You'll Learn















Get the most out of great Flutter widgets



Create custom widgets, both stateless and stateful Exercise expert control over your Flutter layouts Make your app respond to gestures like swiping, pinching and tapping Initiate async Ajax calls to RESTful APIs including Google Firebase!



































Who This Book Is ForDevelopers who have coded in Java, C#, C++, or any similar language. It brings app development within the reach of younger developers, so STEM groups are likely to pick up the technology. Managers, product owners, and business analysts need to understand Flutter's capabilities. 
About the Author xvii
About the Technical Reviewer xix
Who is this book for? xxi
Part I Introduction to Flutter
1(28)
Chapter 1 Hello Flutter
3(6)
What is Flutter?
4(1)
Why Flutter?
5(1)
The other options
5(2)
Native solutions
7(1)
Conclusion
8(1)
Chapter 2 Developing in Flutter
9(20)
The Flutter toolchain
10(8)
The Flutter SDK
10(1)
IDEs
10(2)
IDE DevTools
12(1)
Emulators
13(2)
Keeping the tools up to date
15(3)
The Flutter development process
18(9)
Scaffolding the app and files
18(3)
Running your app
21(6)
Conclusion
27(2)
Part II Foundational Flutter
29(176)
Chapter 3 Everything Is Widgets
31(16)
UI as code
33(2)
Built-in Flutter widgets
35(1)
Value widgets
36(1)
Layout widgets
36(1)
Navigation widgets
37(1)
Other widgets
38(1)
How to create your own stateless widgets
38(7)
Widgets have keys
41(1)
Passing a value into your widget
42(3)
Stateless and Stateful widgets
45(1)
So which one should I create?
45(1)
Conclusion
46(1)
Chapter 4 Value Widgets
47(30)
The Text widget
47(1)
The Icon widget
48(1)
The Image widget
49(5)
Embedded images
50(1)
Network images
51(1)
Sizing an image
51(3)
Input widgets
54(22)
Text fields
55(10)
Putting the form widgets together
65(1)
Form widget
65(2)
FormField widget
67(4)
One big Form example
71(5)
Conclusion
76(1)
Chapter 5 Responding to Gestures
77(16)
Meet the button family
78(5)
RaisedButton
80(1)
FlatButton and IconButton
81(1)
FloatingActionButton
81(1)
CupertinoButton
82(1)
Dismissible
83(1)
Custom gestures for your custom widgets
83(4)
Step 1 Decide on your gestures and behaviors
84(1)
Step 2 Create your custom widget
85(1)
Step 3 Add a GestureDetector widget
86(1)
Step 4 Associate your gesture with its behavior
87(1)
Example 1 Reacting to a long press
87(2)
Example 2 Pinching to add a new item
89(1)
Example 3 Swiping left or right
90(2)
What if there are two or more gestures happening at the same time?
92(1)
Conclusion
92(1)
Chapter 6 Laying Out Your Widgets
93(46)
Laying out the whole scene
100(6)
MaterialApp widget
100(1)
The Scaffold widget
101(1)
The AppBar widget
102(2)
SafeArea widget
104(1)
SnackBar widget
105(1)
How Flutter decides on a widget's size
106(4)
The dreaded "unbounded height" error
107(1)
Flutter's layout algorithm
108(2)
Putting widgets next to or below others
110(3)
Your widgets will never fit!
113(1)
What if there's extra space left over?
113(8)
Mainaxisalignment
113(2)
Crossaxisalignment
115(2)
Expanded widget
117(4)
What if there's not enough space?
121(3)
The ListView widget
121(3)
Container widget and the box model
124(6)
Alignment and positioning within a Container
126(2)
So how do you determine the size of a Container?
128(2)
Special layout widgets
130(7)
Stack widget
130(1)
GridView widget
131(3)
The Table widget
134(3)
Conclusion
137(2)
Chapter 7 Navigation and Routing
139(20)
Stack navigation
140(4)
Navigating forward and back
141(2)
Get result after a scene is closed
143(1)
Drawer navigation
144(6)
The Drawer widget
146(2)
Filling the drawer
148(2)
Tab Navigation
150(3)
TabController
151(1)
TabBarView
151(1)
TabBar and Tabs
152(1)
TabBar at the bottom
153(1)
The Dialog widget
153(4)
Showdialog() and AlertDialog
154(1)
Responses with a Dialog
155(2)
Navigation methods can be combined
157(2)
Chapter 8 Styling Your Widgets
159(28)
Thinking in Flutter Styles
160(1)
A word about colors
161(2)
Styling Text
163(5)
TextStyle
163(2)
Custom fonts
165(3)
Container decorations
168(8)
Border
170(2)
BorderRadius
172(1)
BoxShape
173(3)
Stacking widgets
176(4)
Positioned widget
178(2)
Card widget
180(1)
Themes
181(5)
Applying theme properties
183(3)
Conclusion
186(1)
Chapter 9 Managing State
187(18)
What is state?
187(2)
What goes in a StatefulWidget?
189(1)
The most important rule about state!
190(1)
Passing state down
191(1)
Lifting state back up
192(1)
An example of state management
193(5)
When should we use state?
198(2)
Advanced state management
200(3)
InheritedWidget
200(1)
BLoC
200(1)
ScopedModel
201(1)
Hooks
201(1)
Provider
202(1)
Redux
202(1)
Whoa! That's a lot of packages!
203(1)
Conclusion
203(2)
Part III Above and Beyond
205(82)
Chapter 10 Your Flutter App Can Work with Files
207(20)
Including libraries in your Flutter app
208(3)
Finding a library
208(2)
Adding it to pubspecyaml
210(1)
Importing the library
210(1)
Using the library
211(1)
Futures, async, and await
211(5)
Why would it wait?
212(1)
How do we get the data from a Future?
213(1)
Await
214(1)
async
215(1)
Including a file with your app
216(2)
Writing a file
218(2)
And reading it!
219(1)
Using JSON
220(3)
Writing your app's memory to JSON
221(1)
Reading JSON into your app's memory
222(1)
Shared preferences
223(2)
To write preferences
224(1)
To read preferences
224(1)
Conclusion
225(2)
Chapter 11 Making RESTful API Calls with HTTP
227(28)
What is an API call?
228(1)
The flavors of API requests
228(2)
Making an HTTP GET or DELETE request
230(1)
Making an HTTP PUT, POST, or PATCH request
231(1)
HTTP responses to widgets
232(6)
Brute force - The easy way
233(1)
FutureBuilder-The clean way
234(4)
Strongly typed classes
238(2)
Create a business class
238(1)
Write a fromJSON() method
239(1)
Use fromJSON() to hydrate the object
240(1)
One big example
240(14)
Setting up
242(1)
Create the Flutter app
243(1)
Making a strongly typed business class
243(1)
PeopleListdart
244(3)
A GET request in Flutter
247(1)
A DELETE request in Flutter
247(1)
PeopleUpseitdart
248(4)
A POST and PUT request in Flutter
252(2)
Conclusion
254(1)
Chapter 12 Using Firebase with Flutter
255(32)
Introducing Firebase
256(3)
Cloud Firestore
257(1)
Cloud Functions
258(1)
Authentication
259(1)
Setting up Firebase itself
259(19)
(1) Creating a Firebase project
260(3)
(2) Creating the database
263(4)
(3) Creating an iOS app
267(6)
(4) Creating an Android app
273(4)
(5) Adding FlutterFire plugins
277(1)
Using Firestore
278(5)
To get a collection
279(2)
To query
281(1)
To upsert
281(1)
To delete
282(1)
Where to go from here
283(4)
Appendix A Dart Language Overview
287(16)
What is Dart?
287(1)
Expected features -- Dart Cheatsheet
288(2)
Datatypes
288(1)
Arrays/lists
289(1)
Conditional expressions
289(1)
Looping
290(1)
Classes
290(1)
Class constructors
291(1)
Unexpected things about Dart
291(8)
Type inference
292(1)
final and const
292(1)
Variables are initialized to null
293(1)
String interpolation with $
294(1)
Multiline strings
294(1)
Spread operator
294(1)
Map <foo, bar>
295(1)
Functions are objects
295(1)
Big arrow/Fat arrow
296(1)
Named function parameters
296(1)
Omitting "new" and "this."
297(1)
Class constructor parameter shorthand
298(1)
Private class members
299(4)
Mixins
299(1)
The cascade operator (..)
300(1)
No overloading
301(1)
Named constructors
301(2)
Index 303
Rap Payne has focused on mobile development since he started Agile Gadgets, a mobile app development company in 2003. He is a consultant, trainer, and entrepreneur who has written apps, mentored developers, and taught software development classes for Fortune 500 companies like Boeing, Walmart, Coca-Cola, Wells Fargo, Honda,CVS, GE, Chase, HP, Lockheed, Exxon-Mobil, Lowe's, Nike, J.C. Penney, USAA, Walgreen's, and government agencies like the US Air Force, Navy, Army, NASA, Britain's GCHQ, Canada's postal service, and several provincial governments, to name a few.

As a professional mentor and trainer, Rap has developed a talent for communicating highly complex ideas in easy-to-understand ways. And as a real-world developer, he understands the need to teach these topics using practical and realistic examples and exercises.