Details

Flutter For Dummies


Flutter For Dummies


1. Aufl.

von: Barry Burd

19,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 06.07.2020
ISBN/EAN: 9781119612612
Sprache: englisch
Anzahl Seiten: 384

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>Create awesome iOS and Android apps with a single tool!  </b></p> <p>Flutter is an app developer’s dream come true. With Google’s open source toolkit, you can easily build beautiful apps that work across platforms using a single codebase. This flexibility allows you to get your work out to the widest possible audience. With Flutter already being used by thousands of developers worldwide in a market where billions of apps are downloaded every year, now is the right time to get ahead of the curve with this incredible tool.  </p> <p><i>Flutter for Dummies</i> is your friendly, ground-up route to creating multi-platform apps.       </p> <p>From how to construct your initial frameworks to writing code in Dart, you’ll find the essentials you need to ride the Flutter revolutionary wave to success. This book includes how to create an intuitive and stunning UI, add rich interactivity, and easily pull in data. You’ll also see how Flutter features like Hot Reload—providing sub-second refreshes as you refine your work—help you make sure your app is a delight to use. </p> <ul> <li>Start simple: follow steps to build a basic app </li> <li>It’s alive! Keep connected to online data </li> <li>It moves! Make things fun with animated features </li> <li>Get the word out: use tips to expand your audience  </li> </ul> <p>Whether you’re a fledgling developer or an expert wanting to add a slick feather to your programming cap, join the Flutter revolution now and soar above the rest! </p>
<p><b>Introduction</b><b> 1</b></p> <p>How to Use This Book 1</p> <p>Conventions Used in This Book 2</p> <p>What You Don’t Have to Read 2</p> <p>Foolish Assumptions 3</p> <p>How This Book is Organized 4</p> <p>Part 1, “Getting Ready” 4</p> <p>Part 2, “Flutter: A Burd’s-Eye View” 4</p> <p>Part 3, “Details, Details” 4</p> <p>Part 4, “The Part of Tens” 4</p> <p>More on the web! 5</p> <p>Icons Used in This Book 5</p> <p>Beyond the Book 6</p> <p>Where to Go from Here 6</p> <p><b>Part 1: Getting Ready</b><b> 7</b></p> <p><b>Chapter 1: What is Flutter?</b><b> 9</b></p> <p>Hardware and Software (Things You May Already Know) 10</p> <p>Where Does Flutter Fit In? 15</p> <p>Cross-platform development 15</p> <p>A quick-and-easy development cycle 17</p> <p>A great way to think about app development 25</p> <p>Enough New Terminology! What’s Next? 28</p> <p><b>Chapter 2: Setting Up Your Computer for Mobile App Development</b><b> 29</b></p> <p>The Stuff You Need 30</p> <p>What to Do 32</p> <p>Getting and installing the stuff 32</p> <p>For Mac users only 34</p> <p>Configuring Android Studio 35</p> <p>Running your first app 36</p> <p>Dealing with the Devil’s Details 43</p> <p>On installing Android Studio 43</p> <p>On launching Android Studio for the first time 44</p> <p>On installing Android Studio’s Flutter plugin 44</p> <p>On adding virtual devices 46</p> <p>On installing Flutter 50</p> <p>Divisiveness Among Devices 52</p> <p>Running apps on an Android device 52</p> <p>Testing apps on a physical device 53</p> <p>Using Android Studio 59</p> <p>Starting up 59</p> <p>The main window 60</p> <p>Running This Book’s Sample Programs 63</p> <p>Enjoying reruns 65</p> <p>If you’re finicky 65</p> <p>Were These Setup Steps Fun or What? 66</p> <p><b>Part 2: Flutter: A Burd’s-Eye View</b><b> 67</b></p> <p><b>Chapter 3: “Hello” From Flutter</b><b> 69</b></p> <p>First Things First 69</p> <p>What’s it all about? 72</p> <p>A constructor’s parameters 75</p> <p>A note about punctuation 76</p> <p>Don’t relent — simply indent 77</p> <p>Classes, Objects, and Widgets 79</p> <p>A brief treatise on “within-ness” 81</p> <p>The documentation is your friend 82</p> <p>Making Things Look Nicer 83</p> <p>Creating a scaffold 86</p> <p>Adding visual tweaks 88</p> <p>Dart’s enum feature 89</p> <p>Hello from sunny California! 89</p> <p>Adding another widget 91</p> <p>Centering the text (Part 1) 94</p> <p>Centering the text (Part 2) 97</p> <p>Displaying an image 100</p> <p>Hey, Wait a Minute 104</p> <p><b>Chapter 4: Hello Again</b><b> 105</b></p> <p>Creating and Using a Function 106</p> <p>The function declaration 107</p> <p>A function call 108</p> <p>Parameters and the return value 108</p> <p>Programming in Dart: The Small Stuff 112</p> <p>Statements and declarations 112</p> <p>Dart’s typing feature 113</p> <p>Literals, variables, and expressions 114</p> <p>Two for the price of one 117</p> <p>Dart’s var keyword 119</p> <p>Built-in types 121</p> <p>Types that aren’t built-in 123</p> <p>Using import declarations 123</p> <p>Variations on a Theme from Die Flutter Mouse 124</p> <p>Type names in function declarations 127</p> <p>Naming your parameters 128</p> <p>What about the build function? 129</p> <p>More Fun to Come! 130</p> <p><b>Chapter 5: Making Things Happen</b><b> 131</b></p> <p>Let’s All Press a Floating Action Button 132</p> <p>Stateless widgets and stateful widgets 134</p> <p>Widgets have methods 135</p> <p>Pay no attention to the framework behind the curtain 139</p> <p>Enhancing Your App 146</p> <p>More parameters, please 148</p> <p>The override annotation 151</p> <p>What does <Widget> mean? 152</p> <p>Anonymous functions 153</p> <p>What belongs where 156</p> <p>Names that start with an underscore 160</p> <p>Whew! 162</p> <p><b>Chapter 6: Laying Things Out</b><b> 163</b></p> <p>The Big Picture 164</p> <p>Creating bite-size pieces of code 167</p> <p>Creating a parameter list 169</p> <p>Living color 170</p> <p>Adding padding 171</p> <p>Your humble servant, the Column widget 173</p> <p>The SizedBox widget 175</p> <p>Your friend, the Container widget 176</p> <p>Nesting Rows and Columns 181</p> <p>More Levels of Nesting 183</p> <p>Using the Expanded Widget 186</p> <p>Expanded versus unexpanded 189</p> <p>Expanded widget saves the day 192</p> <p>Flexing some muscles 196</p> <p>How Big is My Device? 199</p> <p><b>Part 3: Details, Details</b><b> 205</b></p> <p><b>Chapter 7: Interacting with the User</b><b> 207</b></p> <p>A Simple Switch 208</p> <p>Dart’s const keyword 211</p> <p>Compatible or NOT? 213</p> <p>Wait For It! 214</p> <p>How Much Do You Love Flutter? 217</p> <p>Dealing with Text Fields 220</p> <p>Callouts 1 and 2 223</p> <p>Callout 3 225</p> <p>Callout 4 226</p> <p>Callout 5 230</p> <p>Creating Radio Buttons 230</p> <p>Creating an enum 233</p> <p>Building the radio group 233</p> <p>Displaying the user’s choice 235</p> <p>Creating a Dropdown Button 239</p> <p>Building the dropdown button 242</p> <p>The little Reset button 244</p> <p>Making a Map 245</p> <p>Onward and Upward 246</p> <p><b>Chapter 8: Navigation, Lists, and Other Goodies</b><b> 247</b></p> <p>Extending a Dart Class 248</p> <p>From One Page to Another 251</p> <p>An icon on a button 254</p> <p>Pushing and popping 255</p> <p>Passing Data from Source to Destination 256</p> <p>Passing Data Back to the Source 261</p> <p>Dart’s async and await keywords 264</p> <p>Taking control of the app bar’s Back button 266</p> <p>Passing Data in Both Directions 267</p> <p>Creating Named Routes 272</p> <p>Creating a List 276</p> <p>The ListView widget 279</p> <p>Creating list items one-by-one 285</p> <p>Another new Dart language feature 288</p> <p>Fetching Data from the Internet 290</p> <p>Using a public API 293</p> <p>Sending a URL to a server 295</p> <p>Making sense of a JSON response 296</p> <p>What’s Next? 296</p> <p><b>Chapter 9: Moving Right Along </b><b>297</b></p> <p>Setting the Stage for Flutter Animation 297</p> <p>Moving Along a Straight Line 303</p> <p>Bouncing Around 308</p> <p>Animating Size and Color Changes 310</p> <p>Moving Along a Curve 312</p> <p>Dragging Things Around 314</p> <p>Where To Go From Here 319</p> <p><b>Part 4: The Part of Tens</b><b> 321</b></p> <p><b>Chapter 10: Ten Ways to Avoid Mistakes</b><b> 323</b></p> <p>Put Capital Letters Where They Belong 323</p> <p>Use Parentheses When (and Only When) They’re Appropriate 323</p> <p>Limit Access to Variables 324</p> <p>Call setState 324</p> <p>Make Adjustments for Indices Starting at Zero 324</p> <p>Use the Expanded Widget 325</p> <p>Add itemCount to Your ListView.builder 325</p> <p>Add Imports When They’re Required 325</p> <p>Declare Assets and Dependencies in pubspec.yaml 325</p> <p>Indent Your Code According to Dart Language Guidelines 326</p> <p><b>Chapter 11: Ten Ways to Enhance Your App Development Career</b><b> 327</b></p> <p>Practice! Practice! 327</p> <p>Critique Your Own Code 328</p> <p>Have Others Review Your Code 328</p> <p>Find Out Which Technologies Your Nearby Companies Use 328</p> <p>Attend User Group Meetings 328</p> <p>Ask Questions 329</p> <p>Ask Yourself Whether You Truly Understand 329</p> <p>Learn Things That You May Never Need to Know 329</p> <p>Do What You Love to Do 330</p> <p>Get Plenty of Sleep 330</p> <p><b>Chapter 12: Ten Chapters about Flutter App Development</b><b> 331</b></p> <p>Introduction 331</p> <p>What is Flutter? 331</p> <p>Setting Up Your Computer for Mobile App Development 332</p> <p>‘Hello’ from Flutter 332</p> <p>Hello Again 332</p> <p>Making Things Happen 332</p> <p>Laying Things Out 332</p> <p>Interacting with the User 332</p> <p>Navigation, Lists, and Other Goodies 333</p> <p>Moving Right Along 333</p> <p><b>Part 5: Appendices</b><b> 335</b></p> <p>Appendix: Doris’s Dating App 337</p> <p>Index 347</p>
<p><b>Barry Burd, PhD,</b> is a veteran educator and a professor of mathematics and computer science at Drew University. When he's not lecturing at the university, Barry speaks at professional conferences and somehow finds time to write books, including <i>Java For Dummies</i> and <i>Beginning Programming with Java For Dummies.</i>
<ul> <li>Create mobile apps for iOS and Android</li> <li>Write clear code with the Dart programming language</li> <li>Add valuable features to your application</li> </ul> <p><b>Create apps for two platforms with one tool!</b> <p>Flutter is a developer's dream! Google's open source tools let you build apps that work on both iOS and Android using a single codebase, so you can distribute your creations faster and to a wider audience. This easy guide outlines the steps to help you quickly build a basic app, create an intuitive user interface, pull data into the app, and add interactive features. It will bring you up to speed on coding in Dart and help you take advantage of Flutter's lightning fast update cycle to make app development a delight. Get started today! <p><b>Inside...</b> <ul> <li>Gather the tools you need</li> <li>Get started with a simple app</li> <li>Explore the Dart language</li> <li>Add widgets to your app</li> <li>Improve your app's layout</li> <li>Interact with users</li> <li>Create lively animations</li> <li>Connect to online data</li> </ul>

Diese Produkte könnten Sie auch interessieren:

Software Process Modeling
Software Process Modeling
von: Silvia T. Acuna, Natalia Juristo
PDF ebook
96,29 €
A Software Process Model Handbook for Incorporating People's Capabilities
A Software Process Model Handbook for Incorporating People's Capabilities
von: Silvia T. Acuna, Natalia Juristo, Ana Maria Moreno, Alicia Mon
PDF ebook
149,79 €
XML for Bioinformatics
XML for Bioinformatics
von: Ethan Cerami
PDF ebook
53,49 €