default.txt 722 B

123456789101112131415161718192021222324252627282930313233343536
  1. library app;
  2. import 'dart:html';
  3. part 'app2.dart';
  4. /**
  5. * Class description and [link](http://dartlang.org/).
  6. */
  7. @Awesome('it works!')
  8. class SomeClass<S extends Iterable> extends BaseClass<S> implements Comparable {
  9. factory SomeClass(num param);
  10. SomeClass._internal(int q) : super() {
  11. assert(q != 1);
  12. double z = 0.0;
  13. }
  14. /// **Sum** function
  15. int sum(int a, int b) => a + b;
  16. ElementList els() => querySelectorAll('.dart');
  17. }
  18. String str = ' (${'parameter' + 'zxc'})';
  19. String str = " (${true ? 2 + 2 / 2 : null})";
  20. String str = r'\nraw\';
  21. String str = r"\nraw\";
  22. var str = '''
  23. Something ${2+3}
  24. ''';
  25. var str = r"""
  26. Something ${2+3}
  27. """;
  28. checkVersion() async {
  29. var version = await lookUpVersion();
  30. }