Skip to content

Commit d215e96

Browse files
authored
Merge pull request flutter#10 from bcko/patch-2
examples can show up on the pub site
2 parents 8aa847c + e76cb8a commit d215e96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

example/example.dart

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import 'package:boolean_selector/boolean_selector.dart';
2+
3+
void main(List<String> args) {
4+
var selector = new BooleanSelector.parse("(x && y) || z");
5+
print(selector.evaluate((variable) => args.contains(variable)));
6+
}

0 commit comments

Comments
 (0)