Skip to content

Commit

Permalink
Merge pull request flutter#10 from bcko/patch-2
Browse files Browse the repository at this point in the history
examples can show up on the pub site
  • Loading branch information
mit-mit authored Jun 19, 2019
2 parents 8aa847c + e76cb8a commit d215e96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/example.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import 'package:boolean_selector/boolean_selector.dart';

void main(List<String> args) {
var selector = new BooleanSelector.parse("(x && y) || z");
print(selector.evaluate((variable) => args.contains(variable)));
}

0 comments on commit d215e96

Please sign in to comment.