Flutter and Dart Cookbook
Book information
Description
Flutter and Dart Cookbook Copyright Revision History for the Early Release Chapter 1. Starting with Dart A Note for Early Release Readers 1.1 Determining which Dart installation to use Problem Solution Discussion 1.2 Running Dart in DartPad Problem Solution Discussion Figure 1-1. The DartPad interface 1.3 Extending Android Studio to support Dart Problem Solution Discussion 1.4 Developing with VS Code Problem Solution Discussion 1.5 Installing the Dart SDK Problem Solution Discussion 1.6 Running a Dart application Problem Solution Discussion 1.7 Selecting a release channel Problem Solution Discussion Chapter 2. Learning Dart Variables A Note for Early Release Readers 2.1 Declaring an Integer variable Problem Solution Discussion 2.2 Declaring a Double variable Problem Solution Discussion 2.3 Declaring a Bool variable Problem Solution Discussion 2.4 Declaring a String variable Problem Solution Discussion 2.5 Using a Print statement Problem Solution Example 2-5. Example 1: Here’s an example of a how to print static content: Example 2-6. Example 2: Here’s an example of a how print the content of a variable: Example 2-7. Example 3: Here’s an example of a how print the complex data type: Discussion 2.6 Using a Const Problem Solution Discussion 2.7 Using Final Problem Solution Discussion 2.8 Working with Null Problem Solution Discussion Chapter 3. Exploring Control Flow A Note for Early Release Readers 3.1 Using an If statement Problem Solution Discussion 3.2 Using While/Do While Problem Solution Discussion 3.3 Using a For statement Problem Solution Discussion 3.4 Using a Switch statement Problem Solution Discussion 3.5 Using an Enum Problem Solution Discussion 3.6 Handling Exceptions Problem Solution Discussion Chapter 4. Implementing Functions A Note for Early Release Readers 4.1 Declaring Functions Problem Solution Discussion 4.2 Adding parameters to Functions Problem Solution Discussion 4.3 Returning values from Functions Problem Solution Discussion 4.4 Declaring Anonymous functions Problem Solution Discussion 4.5 Using optional parameters Problem Solution Discussion Chapter 5. Handling Maps and Lists A Note for Early Release Readers 5.1 Using a Map to handle objects Problem Solution Discussion 5.2 Retrieving Map content Problem Solution Discussion 5.3 Validating key existence within a Map Problem Solution Discussion 5.4 Working with Lists Problem Solution Discussion 5.5 Adding List content Problem Solution Discussion 5.6 Using Lists with complex types Problem Solution Discussion Chapter 6. Leveraging Classes A Note for Early Release Readers 6.1 Defining Classes Problem Solution Discussion 6.2 Using Class Constructors Problem Solution Discussion 6.3 Extending Classes Problem Solution Discussion 6.4 Extending Classes with Mixins Problem Solution Discussion 6.5 Importing a package Problem Solution Discussion Chapter 7. Introducing the Flutter Framework A Note for Early Release Readers 7.1 Mocking an interface Problem Solution Discussion Figure 7-1. Example Excalidraw drawing 7.2 Creating a Flutter project Problem Solution Note Discussion 7.3 Working with a Stateful Widget Problem Solution Discussion Figure 7-2. Example stateful widget interaction 7.4 Working with a Stateless Widget Problem Solution Discussion 7.5 Refactoring Widgets Problem Solution Discussion 7.6 Removing the Flutter Debug banner Problem Solution Discussion Chapter 8. Working with Widgets A Note for Early Release Readers 8.1 Using the Scaffold class Problem Solution Discussion 8.2 Using an AppBar Problem Solution Discussion 8.3 Using an Expanded widget Problem Solution Discussion Figure 8-1. A ListView widget Figure 8-2. A ListView widget enclosed within an Expanded widget 8.4 Building with a Container Problem Solution Discussion 8.5 Using a Center widget Problem Solution Discussion 8.6 Using a SizedBox Problem Solution Discussion 8.7 Using a Column Problem Solution Discussion 8.8 Using a Row Problem Solution Discussion Chapter 9. Developing User Interfaces A Note for Early Release Readers 9.1 Incorporating Rich Text Problem Solution Discussion 9.2 Incorporating the Google fonts package Problem Solution Discussion 9.3 Identifying the host platform Problem Solution Discussion 9.4 Using a Placeholder widget Problem Solution Discussion 9.5 Using a Layout Builder Problem Solution Discussion 9.6 Getting screen dimensions with Media Query Problem Solution Discussion Chapter 10. Organizing onscreen data A Note for Early Release Readers 10.1 Implementing a vertical list Problem Solution Discussion 10.2 Implementing a horizontal list Problem Solution Discussion 10.3 Adding a SliverAppBar Problem Solution Discussion 10.4 Adding a grid of items Problem Solution Discussion 10.5 Adding a Snackbar (Popup notification) Problem Solution Discussion About the Author
Similar books
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF
The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians
1809 · PDF
Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix
2008 · PDF