Fix formatting

This commit is contained in:
Inex Code 2020-10-22 08:14:44 +00:00
parent 9adaad7142
commit 88006d50fe
2 changed files with 12 additions and 7 deletions

View file

@ -89,19 +89,24 @@ class _VmEncryptedDelegate extends DatabaseDelegate {
FutureOr<bool> get isOpen => delegate.isOpen; FutureOr<bool> get isOpen => delegate.isOpen;
@override @override
Future<void> runBatched(BatchedStatements statements) => delegate.runBatched(statements); Future<void> runBatched(BatchedStatements statements) =>
delegate.runBatched(statements);
@override @override
Future<void> runCustom(String statement, List args) => delegate.runCustom(statement, args); Future<void> runCustom(String statement, List args) =>
delegate.runCustom(statement, args);
@override @override
Future<int> runInsert(String statement, List args) => delegate.runInsert(statement, args); Future<int> runInsert(String statement, List args) =>
delegate.runInsert(statement, args);
@override @override
Future<QueryResult> runSelect(String statement, List args) => delegate.runSelect(statement, args); Future<QueryResult> runSelect(String statement, List args) =>
delegate.runSelect(statement, args);
@override @override
Future<int> runUpdate(String statement, List args) => delegate.runUpdate(statement, args); Future<int> runUpdate(String statement, List args) =>
delegate.runUpdate(statement, args);
@override @override
TransactionDelegate get transactionDelegate => delegate.transactionDelegate; TransactionDelegate get transactionDelegate => delegate.transactionDelegate;

View file

@ -127,8 +127,8 @@ abstract class FirebaseController {
// initialise the plugin. app_icon needs to be a added as a drawable resource to the Android head project // initialise the plugin. app_icon needs to be a added as a drawable resource to the Android head project
var initializationSettingsAndroid = var initializationSettingsAndroid =
AndroidInitializationSettings('notifications_icon'); AndroidInitializationSettings('notifications_icon');
var initializationSettingsIOS = var initializationSettingsIOS = IOSInitializationSettings(
IOSInitializationSettings(onDidReceiveLocalNotification: (i, a, b, c) => null); onDidReceiveLocalNotification: (i, a, b, c) => null);
var initializationSettings = InitializationSettings( var initializationSettings = InitializationSettings(
android: initializationSettingsAndroid, iOS: initializationSettingsIOS); android: initializationSettingsAndroid, iOS: initializationSettingsIOS);
await _flutterLocalNotificationsPlugin.initialize(initializationSettings, await _flutterLocalNotificationsPlugin.initialize(initializationSettings,