serious_python_platform_interface library
Classes
- DartBridge
- Loaded dart_bridge symbols. Use DartBridge.instance for the default per-platform handle, or DartBridge.open / DartBridge.process to load from a specific source (mostly useful for tests).
- SeriousPythonPlatform
- SpRunConfig
-
FFI bindings for the
dart_bridgeC library published by flet-dev/dart-bridge.
Constants
- spRunPath → const int
- spRunScript → const int
Functions
-
getDirFiles(
String path, {bool recursive = false}) → Future< String> -
Lists the files under
path(optionallyrecursively), one per line. -
runPython(
{required DartBridge bridge, String? appPath, String? script, String? programName, List< String> ? modulePaths, Map<String, String> ? environmentVariables, bool sync = false, int completionPort = 0}) → int - Run a Python program via dart_bridge.