digit_formula_parser 1.2.1
digit_formula_parser: ^1.2.1 copied to clipboard
A dart plugin to to parse and evaluate mathematical expressions.
1.2.1 #
- NTD Oncho: fix delivery-rule parsing for boolean types with safe defaults for missing fields
- Modified
formula_parser_base.dartto supportcontainsvisibility conditions on lists - Added
preventScreenCaptureflag hooks used by forms engine - Support for dependent fields; fixed dependency handling
- Update autofill condition for product data
1.2.0 #
- Added
containsandnotcontainslist check functions for validating values in lists and multi-select fields - Improved comparison functions (
lt,gt,lte,gte,eq,ne) to handle mixed string/number types - Added support for single and double quoted string literals in expressions
- Added case-insensitive variable substitution in expressions
- Improved value type handling for null, boolean, string, and numeric values during substitution
- Rewrote parser core for better support of string, boolean, and identifier primitives
1.1.0 #
- Added support for multiple conditions inside a single expression
- Fixed issues related to empty string values
1.0.0 #
- Initial release
- Parse and evaluate mathematical and conditional expressions
- Support for string, numeric, and boolean comparisons
- Logical operators (AND, OR, NOT) with proper precedence
- Variable substitution at runtime
- Built-in math and aggregation functions
- List operations (contains, notcontains)
- Nested parentheses and complex grouped expressions