This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PromiseKitHelper.swift | |
// TrueID | |
// | |
// Created by Kittiphat Srilomsak on 3/21/2560 BE. | |
// Copyright © 2017 peatiscoding.me all rights reserved. | |
// | |
import PromiseKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}) { |