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
import 'dart:async'; | |
void main() async { | |
final completer = Completer(); | |
print('==== THE GOOD =====\n\n'); | |
await runZonedGuarded(throwsInTask, (error, stack) { | |
print('Caught all nasty taskies errorsies.... Gollum happy! Gollum!'); | |
completer.complete(); | |
}); |
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
import 'dart:js' as js; | |
import 'dart:js_util'; | |
import 'package:flutter/material.dart'; | |
void main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
runApp(const RequireRepro()); | |
} |
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
import "dart:io"; | |
void main() { | |
print(new SomeFactory().message); | |
} | |
abstract class SomeFactory { | |
String get message; | |
factory SomeFactory() { |
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
@JS() | |
library gelocation_dartdevc_polyfill.dart; | |
// tracking dart-lang/sdk#32592 | |
import 'dart:async'; | |
import 'dart:html' as html; | |
import 'package:js/js.dart'; |