Securrency-OSS / mirai

Mirai is a Server-Driven UI (SDUI) library for Flutter. Mirai allows you to build beautiful cross-platform applications with JSON in real time.
https://pub.dev/packages/mirai
MIT License
490 stars 60 forks source link

What the documentation means about 'ExampleScreenParser'? #161

Closed rsalmeron-disney closed 3 months ago

rsalmeron-disney commented 11 months ago

void main() async { final dio = Dio()

await Mirai.initialize( parsers: const [ ExampleScreenParser(), ], dio: dio, );

runApp(const MyApp()); }

In this example in parsers requires an ExampleScreenParser, what would be an example of this?

Thanks!!!!

divyanshub024 commented 11 months ago

Hey @rsalmeron-disney!!

Mirai allows us to create and use our own custom parser/widgets. This example is showing that.

divyanshub024 commented 3 months ago

Hey @rsalmeron-disney, I'm closing this issue now. Please reopen if the question still exists.