<commit_before>Title: Persisting Data in Local Database for Flutter (Android & iOS)
Date: 05/01/2020
Authors: ptyagi
Category: Flutter
Tags: sqflite, cross-platform, flutter, code-recipes, android, android Studio, iOS, development
Summary: This article demonstrates persisting data in local database in Flutter App.

![enums]({attach}../../images/dart/enums.png)

**Target Audience:** Beginner

**Recipe:** Persisting products data in local database using `sqflite` Flutter plugin.

**Focus Widget:** Flutter plugin [sqflite](https://pub.dev/packages/sqflite).

**Goal:** In this recipe, we'll create, save, and retrieve two objects of custom data type, `Product` in the local sqlite database. We'll create two files for this recipe:<commit_msg>publishing new content<commit_after>Title: Persisting Data in Local Database for Flutter (Android & iOS)
Date: 05/01/2020
Authors: ptyagi
Category: Flutter
Tags: sqflite, cross-platform, flutter, code-recipes, android, android Studio, iOS, development
Summary: This article demonstrates persisting data in local database in Flutter App.

**Target Audience:** Beginner

![enums]({attach}../../images/dart/enums.png)

**Recipe:** Persisting products data in local database using `sqflite` Flutter plugin.

**Focus Widget:** Flutter plugin [sqflite](https://pub.dev/packages/sqflite).

**Goal:** In this recipe, we'll create, save, and retrieve two objects of custom data type, `Product` in the local sqlite database. We'll create two files for this recipe:
{'fraction_non_alphanumeric': 0.11207471647765177, 'fraction_numerical': 0.01067378252168112, 'mean_word_length': 5.550218340611353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2344408', 'n_tokens_mistral': 442, 'n_tokens_neox': 421, 'n_words': 173}