Moved the default BinaryMessenger instance to ServicesBinding (#37489)

This commit is contained in:
adazh
2019-08-09 10:13:40 -07:00
committed by GitHub
parent 20ecae0e92
commit 92ef2b9ce1
30 changed files with 243 additions and 161 deletions

View File

@@ -36,9 +36,9 @@ Future<String> respondToHostRequestForSplashLog(String _) {
void createTestChannelBetweenAndroidAndFlutter() {
// Channel used for Android to send Flutter changes to the splash display.
final BasicMessageChannel<String> testChannel = BasicMessageChannel<String>(
const BasicMessageChannel<String> testChannel = BasicMessageChannel<String>(
'testChannel',
const StringCodec()
StringCodec()
);
// Every splash display change message that we receive from Android is either