Simple SQFlite database example in Flutter

Code updated on May 12, 2021

There are a number of tutorials out there about how to setup a SQLite database in Flutter using the SQFlite plugin. They were helpful but I found myself getting lost in the details. My purpose in this post is to give you a minimal example that you can get through in 10 minutes. Once you have it working, you can go on to some of the more advanced topics in other…




Flutter and Dart developer. Twitter: @suragch1

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

8 Tips to improve communication between junior and senior developers in tech teams

“ASK FOR HELP” written with Scrabble tiles

Continuous integration

Nirvana — The Placement Saga

Introduction to Serializers in the Django REST Framework

Leveraging “Code Patterns” as “Solution Blueprints”

Another video — this time the Blackjack!

Blind SQLi with conditional errors

Establishing connection to Couchbase server from aws ec2 instance using Couchbase Java SDK

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Flutter and Dart developer. Twitter: @suragch1

More from Medium

Your First Real Flutter Unit Tests

TDD in Flutter Part 3: Testing your widgets

Daria’s Flutter diaries #2