Skip to content

Instantly share code, notes, and snippets.

View ened's full-sized avatar

Sebastian Roth ened

View GitHub Profile
diff --git a/packages/flutter/lib/src/foundation/binding.dart b/packages/flutter/lib/src/foundation/binding.dart
index 957f85906..779f320a5 100644
--- a/packages/flutter/lib/src/foundation/binding.dart
+++ b/packages/flutter/lib/src/foundation/binding.dart
@@ -50,16 +50,24 @@ abstract class BindingBase {
/// instance pointers and other state, then calls
/// [initServiceExtensions] to have bindings initialize their
/// observatory service extensions, if any.
- BindingBase() {
+ BindingBase({bool background = false}) {
//
// PromiseKitHelper.swift
// TrueID
//
// Created by Kittiphat Srilomsak on 3/21/2560 BE.
// Copyright © 2017 peatiscoding.me all rights reserved.
//
import PromiseKit