You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is the dump is not as expected and if you use
Text("Welcome")
it's not possible to replace Text with JsonText because the result is not correct because the json definition requires text instead of data to show the Welcome text after reading the json template.
I tried to create my widget with standard flutter widgets and replaced standard class names with Json* class names, but this didn't work without manual changes.
Another example is:
Container(height: 10, color: Colors.red);
but not working with JsonContainer(height: 10, color: Colors.red);
My use-case is the creation of json from widget tree and not manually. There's the JsonExporter and it works so far, but I'm not sure if it should work better?
The text was updated successfully, but these errors were encountered:
If you use
JsonText('DATA', args: {'text': 'Welcome'})
and use JsonExporter to dump json, following is the output:
also:
JsonText("Welcome")
dumps:
The problem here is the dump is not as expected and if you use
Text("Welcome")
it's not possible to replace Text with JsonText because the result is not correct because the json definition requires text instead of data to show the Welcome text after reading the json template.
I tried to create my widget with standard flutter widgets and replaced standard class names with Json* class names, but this didn't work without manual changes.
Another example is:
Container(height: 10, color: Colors.red);
but not working with
JsonContainer(height: 10, color: Colors.red);
My use-case is the creation of json from widget tree and not manually. There's the JsonExporter and it works so far, but I'm not sure if it should work better?
The text was updated successfully, but these errors were encountered: