hetu_script_flutter 0.0.1 hetu_script_flutter: ^0.0.1 copied to clipboard
Extension for Hetu Script. Makes it easier to use Hetu Script in Flutter apps.
Hetu Script for Flutter #
This is an extension for hetu_script.
Features #
With this package, you can now read hetu script from assets.
Getting started #
Use [initFlutter] instead of [init]. Also note that this is an async function.
final hetu = Hetu();
await hetu.initFlutter();
hetu.eval(r'''
fun main {
print('hello Flutter!')
}
''', invokeFunc: 'main');