Flutter projects : a practical, project-based guide to building real-world cross-platform mobile applications and games / Simone Alessandria.
by
Alessandria, Simone, author.
ISBN
:
9781838642532
Title
:
Flutter projects : a practical, project-based guide to building real-world cross-platform mobile applications and games / Simone Alessandria.
Author
:
Alessandria, Simone, author.
Personal Author
:
Alessandria, Simone, author.
Physical Description
:
1 online resource (1 volume) : illustrations
Contents
:
Cover -- Title Page -- Copyright and Credits -- Dedication -- About Packt -- Contributors -- Table of Contents -- Preface -- Chapter 1: Hello Flutter! -- Technical requirements -- Understanding the Dart language basics -- Hello Dart -- Area calculator -- For loops and strings -- The Arrow syntax and the ternary operator -- While loops, lists, and generics -- foreach() -- map() -- where() -- Classes and objects -- Using getters and setters -- Constructors -- This keyword -- Creating your first Flutter app -- Running your first Hello World app -- Using MaterialApp and Scaffold
Formatting Text and Using Columns -- Showing images and using buttons -- Showing an AlertDialog box -- Using padding -- Using SingleChildScrollView -- Summary -- Questions -- Further reading -- Chapter 2: Miles or Kilometers? Using Stateful Widgets -- Technical requirements -- Project overview -- Understanding state and stateful widgets -- Creating the measure converter project -- Using stateful widgets -- Reading user input from TextField -- Creating a DropdownButton widget -- Updating a DropdownButton widget -- Completing the UI of the app -- Adding the business logic -- Summary -- Questions
Further reading -- Chapter 3: My Time -- Listening to a Stream of Data -- Technical requirements -- Building the timer home page layout -- Installing the percent_indicator Package in your app -- Using a stream and asynchronous programming in Flutter -- Showing the time in the main screen: StreamBuilder -- Enabling the buttons -- Navigating to the settings route -- Building the Settings screen layout -- Using the GridView. Count() constructor -- Adding custom SettingButtons to the widgets.dart file -- Using shared_preferences to read and write app data -- Summary -- Questions -- Further reading
Chapter 4: Pong Game -- 2D Animations and Gestures -- Technical requirements -- Building the UI of the app -- Creating the ball -- Creating the bat -- Creating the grid -- Using animations -- Adding the game logic -- Using GestureDetector -- Checking the bat position -- Adding randomness to the game -- Adding the score and completing the game -- Summary -- Questions -- Further reading -- Chapter 5: Let's Go to the Movies -- Getting Data from the Web -- Technical requirements -- Project overview -- Connecting to a web service and retrieving data with HTTP
Creating the app and connecting to the API with the HTTP library -- Parsing JSON data and transforming it into model objects -- Adding the Movie model class -- Adding a ListView to show data -- Showing a trailing icon in a ListTile -- Showing the detail screen and passing data through screens -- Adding the search feature -- Summary -- Questions -- Further reading -- Chapter 6: Store That Data -- Using Sq(F)Lite To Store Data in a Local Database -- Technical requirements -- Essential theory and context -- Project overview -- Using sqflite databases -- Creating an sqflite database
Local Note
:
eBooks on EBSCOhost
Title Subject
:
Android (Electronic resource)
iOS (Electronic resource)
Subject Term
:
Application software -- Development.
Mobile apps.
Dart (Computer program language)
Logiciels d'application -- Développement.
Applications mobiles.
Dart (Langage de programmation)
Application software -- Development
Mobile apps
Format
:
Electronic Resources
Electronic Access
:
Publication Date
:
2020
Publication Information
:
Birmingham, UK :
Packt Publishing,
2020.
Shelf Number | Material Type | Copy | Shelf Location | Status |
---|
005.133 23 | 1:E-BOOK | 1 | 1:ONLINE | Available for online access and/or download |