flutter_sqflite_manager 0.1.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 80

Flutter Sqflite Manager #

To manage your sqflite database in Flutter.

Browse the database's tables, see the rows inside them, empty tables and delete the entire database. Review your tables' columns and the corresponding column type.

This is still an early preview, some behaviors can change or being removed. Every feedback, bug report or feature request is welcome, please send it at the issue tracker

Get started #

Wrap your app with SqfliteManager passing the sqflite database as parameter. Usually the database is of Future<Database>, check the example to see a FutureBuilder implementation. Use the enable parameter to switch between testing and production.

    database: _database,
    // Update rowsPerPage parameter to avoid scrolling in different screen sizes
    rowsPerPage: 6
    enable: true,
    child: YourApp()

[0.1.1] - 12/09/2019. #

  • Fixed bug in table view
  • Code optimization

[0.1.0] - 01/09/2019. #

  • Initial version
  • Fixed error version


import 'package:flutter/material.dart';
import 'db_page.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      home: DbPage(),

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  flutter_sqflite_manager: ^0.1.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:flutter_sqflite_manager/flutter_sqflite_manager.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Apr 4, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Maintenance suggestions

The package description is too short. (-2 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
sqflite ^1.1.6+4 1.3.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
path 1.6.4
sky_engine 0.0.99
sqflite_common 1.0.0+1
synchronized 2.2.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies