fluffychat/lib/utils/database/mobile.dart
2020-05-13 13:58:59 +00:00

13 lines
471 B
Dart

import 'package:famedlysdk/famedlysdk.dart';
import 'package:encrypted_moor/encrypted_moor.dart';
import 'package:flutter/material.dart';
Database constructDb({bool logStatements = false, String filename = 'database.sqlite', String password = ''}) {
debugPrint('[Moor] using encrypted moor');
return Database(EncryptedExecutor(path: filename, password: password, logStatements: logStatements));
}
Future<String> getLocalstorage(String key) async {
return null;
}