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'; | |
class Clock { | |
Future<Null> _tick; | |
final Duration _clockSpeed; | |
Clock(this._clockSpeed); | |
Future<Null> get nextTick => _tick; |
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
class A { | |
Function(dynamic _) thing; | |
} | |
void main() { | |
A()..thing = (int i) => i; | |
} |
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 'package:foo/foo.dart'; | |
import 'package:over_react/over_react.dart'; | |
// ignore: uri_has_not_been_generated | |
part 'bar.over_react.g.dart'; | |
@Factory() | |
UiFactory<BarProps> Bar = | |
// ignore: undefined_identifier | |
_$Bar; |
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:convert'; | |
import 'dart:core'; | |
import 'dart:io'; | |
main() { | |
final packageName = Directory.current.path.split('/').last; | |
final generated = new Directory('.dart_tool/build/generated/$packageName'); | |
// The build system's documentation reads "[e]mit .module assets which contain | |
// a filtered view of the package level meta-module specific to a single |