string_equation 1.0.0
string_equation: ^1.0.0 copied to clipboard
ConditionEquation is a powerful Dart package that allows you to dynamically evaluate both logical and mathematical expressions from a string format. It offers robust support for variables, making it h [...]
example/string_equation_example.dart
import 'package:string_equation/string_equation.dart';
void main() {
bool value =
ConditionEquation().evaluateExpression("((0.00==1)||((180.00>=180)&&(180.00<=400)&&(1.00<=300))||((1.00>=110)&&(1.00<=300)&&(180.00<=400)))");
print(value);
}