hychen / flutter_js_context

Enhances the interoperability between Dart and flutter_js.
MIT License
0 stars 0 forks source link

dart function as variable #1

Open acx70 opened 2 years ago

acx70 commented 2 years ago

Is it possible to pass a dart function as variable in order to execute it in Javascript?

hychen commented 6 months ago

I am no longer to write Dart now, so I am not sure. According https://pub.dev/documentation/js/latest/, it could be possible.