dart_monty_native 0.6.0
dart_monty_native: ^0.6.0 copied to clipboard
Native plugin for dart_monty, pure Dart bindings for Monty — a restricted sandboxed Python interpreter built in Rust.
/// Native plugin registration example.
///
/// `dart_monty_native` registers itself automatically via Flutter's
/// federated plugin system. Import `dart_monty` in your app:
///
/// ```dart
/// import 'package:dart_monty/dart_monty.dart';
///
/// final monty = MontyPlatform.instance;
/// final result = await monty.run('2 + 2');
/// print(result.value); // 4
/// ```
library;
void main() {
// This package registers itself automatically via Flutter's federated
// plugin system. See the dart_monty package for usage examples.
assert(true, 'dart_monty_native registered');
}