Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Flutter Projects
  • Table Of Contents Toc
  • Feedback & Rating feedback
Flutter Projects

Flutter Projects

By : Simone Alessandria
4 (5)
close
close
Flutter Projects

Flutter Projects

4 (5)
By: Simone Alessandria

Overview of this book

Flutter is a modern reactive mobile framework that removes a lot of the complexity found in building native mobile apps for iOS and Android. With Flutter, developers can now build fast and native mobile apps from a single codebase. This book is packed with 11 projects that will help you build your own mobile applications using Flutter. It begins with an introduction to Dart programming and explains how it can be used with the Flutter SDK to customize mobile apps. Each chapter contains instructions on how to build an independent app from scratch, and each project focuses on important Flutter features.From building Flutter Widgets and applying animations to using databases (SQLite and sembast) and Firebase, you'll build on your knowledge through the chapters. As you progress, you’ll learn how to connect to remote services, integrate maps, and even use Flare to create apps and games in Flutter. Gradually, you’ll be able to create apps and games that are ready to be published on the Google Play Store and the App Store. In the concluding chapters, you’ll learn how to use the BLoC pattern and various best practices related to creating enterprise apps with Flutter. By the end of this book, you will have the skills you need to write and deliver fully functional mobile apps using Flutter.
Table of Contents (15 chapters)
close
close
12
Assessment

Summary

Storing data into a device is a key skill in Flutter development. In this chapter, we have created a data-driven app, leveraging the SQLite database.

In order to add the SQLite features in Flutter, we used the sqflite library, which contains asynchronous helper methods for SELECT, INSERT, UPDATE, and DELETE queries.

We used the openDb method, which returns a database object. The first time we called this method, the database was created with the specified name and version, and the following times, it was only opened.

We called the execute method to use the SQL language to insert records, and the rawQuery method to use a SELECT statement against the database.

We've created model classes that mirrored the structure of the tables in a database to make the code more reliable, easier to read, and to prevent data inconsistencies.

We used the insert, update, and delete...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY