We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00605bd commit 1f205b3Copy full SHA for 1f205b3
CHANGELOG.md
@@ -0,0 +1,3 @@
1
+## [0.1.0] - 2020-04-24
2
+
3
+Initial release.
example/main.dart
@@ -0,0 +1,17 @@
+import 'package:basics/basics.dart';
4
+main() async {
5
+ const numbers = <int>[2, 4, 8];
6
7
+ if (numbers.isNotNull && numbers.all((n) => n.isEven)) {
8
+ print('All numbers are even.');
9
+ }
10
11
+ print('sum of numbers is: ${numbers.sum()}');
12
13
+ for (var i in 5.range) {
14
+ print('waiting 500 milliseconds...');
15
+ await Future.delayed(500.milliseconds);
16
17
+}
pubspec.yaml
@@ -7,7 +7,7 @@ authors:
- garciaz@google.com <garciaz@google.com>
environment:
- sdk: ">=2.7.0 <2.9.0"
+ sdk: ">=2.7.0 <3.0.0"
dependencies:
quiver: ^2.1.2+1
dev_dependencies:
0 commit comments