native_syntax_controller 1.4.0 copy "native_syntax_controller: ^1.4.0" to clipboard
native_syntax_controller: ^1.4.0 copied to clipboard

A high-performance syntax highlighting controller using Flutter's native text rendering (TextSpan). No overlays, no sync issues, just a pure TextEditingController extension.

1.4.0 #

  • BREAKING CHANGE: Enhanced ARRAY_ANY and ARRAY_ALL functions to support complex conditional expressions
    • ARRAY_ANY and ARRAY_ALL now accept condition strings instead of field/value pairs
    • Example: ARRAY_ANY(skills, "proficiency == \"expert\"") instead of ARRAY_ANY(skills, "proficiency", "expert")
  • Added new ARRAY_LENGTH function with optional condition filtering
    • ARRAY_LENGTH(array) - returns the length of an array
    • ARRAY_LENGTH(array, "condition") - returns count of items matching the condition
  • Improved ARRAY function error handling with graceful fallbacks
  • Added comprehensive test coverage for all ARRAY functions
  • Enhanced documentation to reflect new ARRAY function capabilities

1.3.0 #

  • Added new built-in functions: UPPER, LOWER, TRIM, LEN, IN, NOW, DATE_DIFF, DATE_ADD, IS_EMPTY, COALESCE
  • Added direct access to additional built-in functions: upper, lower, trim, len, in_, now_, dateDiff, dateAdd, isEmpty_, coalesce

1.2.0 #

  • Added new built-in functions: CONTAINS, LENGTH, ABS, SQRT, MIN, MAX
  • Added direct access to additional built-in functions: stringContains, length, abs_, sqrt_, min_, max_
  • Enhanced formula evaluation with string and mathematical operations

1.1.0 #

  • Added support for custom functions in formula evaluation via the customFunctions parameter in evaluateFormula.
  • Added direct access to built-in functions: if_, sin_, cos_, pi_, average, sum, arrayAny, arrayAll.

1.0.0 #

  • Initial release: A high-performance syntax highlighting controller using Flutter's native text rendering (TextSpan). No overlays, no sync issues, just a pure TextEditingController extension.
2
likes
160
points
449
downloads

Publisher

unverified uploader

Weekly Downloads

A high-performance syntax highlighting controller using Flutter's native text rendering (TextSpan). No overlays, no sync issues, just a pure TextEditingController extension.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

expressions, flutter

More

Packages that depend on native_syntax_controller