flutter_boxer_sqflite 1.1.3 copy "flutter_boxer_sqflite: ^1.1.3" to clipboard
flutter_boxer_sqflite: ^1.1.3 copied to clipboard

Wrapper of package `sqflite`, support easy usage on query/insert/update/delete and batch/transaction

example/lib/main.dart

// ignore_for_file: avoid_print

import 'package:example/app.dart';
import 'package:flutter/material.dart';

void main() {
  /// Print the entry point of the program
  () async {
    print('Process started from `main` function');
  }();

  /// Flutter Error Report
  FlutterError.onError = (FlutterErrorDetails details) {
    assert(() {
      print('@@@@@@ Flutter Error: ${details.exception}, ${details.stack}');
      return true;
    }());
  };

  /// Run App
  void runApplication() {
    runApp(
      MaterialApp(
        debugShowCheckedModeBanner: false,
        home: App(),
      ),
    );
  }

  /// Run without Zone
  runApplication();

  /// Run with Zone
  // runZonedGuarded(
  //   runApplication,
  //
  //   /// Unhandled Exception
  //   (Object error, StackTrace stack) {
  //     assert(() {
  //       print('@@@@@@ Unhandled Exception: $error, $stack');
  //       return true;
  //     }());
  //   },
  // );
}
6
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Wrapper of package `sqflite`, support easy usage on query/insert/update/delete and batch/transaction

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

sqflite, synchronized_call

More

Packages that depend on flutter_boxer_sqflite