/sqlitetoexcel

Flutter plugin for export sqlite tables to excel(.xls format only) file

Primary LanguageDartApache License 2.0Apache-2.0

sqlitetoexcel

Android Only

This plugin helps you export SqLite tables to Excel (.xls format only).

There are three types of export:

  1. Export All Tables.
  2. Export Specific Tables.
  3. Export Single Table.

You also can exclude columns from being exported into excel and prettify the column name.

Credits goes to androidmads (https://github.com/androidmads/SQLite2XL).

Install

To use this plugin, add sqlitetoexcel as a dependency in your pubspec.yaml file. For example:

dependencies:
  sqlitetoexcel: '^0.0.1'

Usage

  1. Add "import 'package:sqlitetoexcel/sqlitetoexcel.dart';" to your dart file.
  2. Check example/main.dart file to see how it works.