38 lines
751 B
Text
38 lines
751 B
Text
|
library app;
|
||
|
import 'dart:html';
|
||
|
|
||
|
part 'app2.dart';
|
||
|
|
||
|
/**
|
||
|
* Class description and [link](http://dartlang.org/).
|
||
|
*/
|
||
|
@Awesome('it works!')
|
||
|
class SomeClass<S extends Iterable> extends BaseClass<S> implements Comparable {
|
||
|
factory SomeClass(num param);
|
||
|
SomeClass._internal(int q) : super() {
|
||
|
assert(q != 1);
|
||
|
double z = 0.0;
|
||
|
}
|
||
|
|
||
|
/// **Sum** function
|
||
|
int sum(int a, int b) => a + b;
|
||
|
|
||
|
ElementList els() => querySelectorAll('.dart');
|
||
|
}
|
||
|
|
||
|
String str = ' (${'parameter' + 'zxc'})';
|
||
|
String str = " (${true ? 2 + 2 / 2 : null})";
|
||
|
String str = " ($variable)";
|
||
|
String str = r'\nraw\';
|
||
|
String str = r"\nraw\";
|
||
|
var str = '''
|
||
|
Something ${2+3}
|
||
|
''';
|
||
|
var str = r"""
|
||
|
Something ${2+3}
|
||
|
""";
|
||
|
|
||
|
checkVersion() async {
|
||
|
var version = await lookUpVersion();
|
||
|
}
|