boolean_selector 2.1.0-nullsafety copy "boolean_selector: ^2.1.0-nullsafety" to clipboard
boolean_selector: ^2.1.0-nullsafety copied to clipboard

outdated

A flexible syntax for boolean expressions, based on a simplified version of Dart's expression syntax.

example/example.dart

import 'package:boolean_selector/boolean_selector.dart';

void main(List<String> args) {
  var selector = BooleanSelector.parse('(x && y) || z');
  print(selector.evaluate((variable) => args.contains(variable)));
}
24
likes
0
pub points
98%
popularity

Publisher

verified publishertools.dart.dev

A flexible syntax for boolean expressions, based on a simplified version of Dart's expression syntax.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

source_span, string_scanner

More

Packages that depend on boolean_selector