FLUTTER ECOSYSTEM

flutter_jscore

JavaScriptCore for Flutter. The plugin provides the ability to evaluate JavaScript programs from within dart.

flutter_jscore cover
Latest version
1.0.0
30-day downloads
33
Likes
41
Pub points
130

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

flutter_jscore is a Flutter plugin that enables Dart to evaluate JavaScript code using the JavaScriptCore engine. It allows seamless integration between Dart and JavaScript, making it possible to run JavaScript programs directly within Flutter applications on Android, iOS, macOS, Windows, and Linux. This is particularly useful for executing dynamic scripts, leveraging existing JavaScript libraries, or performing client-side computations in JavaScript. The plugin provides a lightweight bridge between the two environments with minimal overhead.

Use cases
  • Running JavaScript code in Flutter apps
  • Integrating JavaScript libraries
  • Dynamic script evaluation
  • Cross-platform scripting
  • Client-side computation with JS
Key features
  • JavaScriptCore engine integration
  • Cross-platform support
  • Dart-JavaScript interoperability
  • Simple API for script evaluation
  • Supports multiple platforms
Suitable for
  • Developers needing JS execution in Flutter
  • Apps requiring dynamic scripting
  • Projects using existing JS libraries
  • Hybrid app development
  • Performance-critical JS tasks
Considerations
  • Limited to JavaScriptCore (not full browser environment)
  • No DOM manipulation available
  • Security risks with untrusted scripts
  • Requires platform-specific setup for some features
  • Memory management considerations with long-running scripts
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add flutter_jscore

Categories

Source repository

Related projects

No data available yet.