ethanblake4 / flutter_eval

Code push for Flutter, powered by dart_eval

Home Page:https://pub.dev/packages/flutter_eval

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

passing domain object to EvalWidget

aktxyz opened this issue · comments

The example shows how to pass a string into an EvalWidget like so ...

args: [$String('Example name')]

Can you provide an example for passing an instance of domain class into EvalWidget, both the on the dart side (args: ..) and in the eval'd code string. It seems there also needs to be way to make the eval'd code aware of the class def, normally an import.

commented

Closing as duplicate of ethanblake4/dart_eval#79