Flutter
Playground app
To test your code and see a preview of the card on an Android or iOS device, use the DivKit Playground app. You can add the card code in JSON format to the app or open a link to it:
-
Download DivKit library files from repository
-
Run Playground App:
flutter run -t example/lib/main.dart -
Select demo.
-
Insert the code in JSON format in the input field
Tip
To create a card code, you can use the DivKit Web Playground sample library.
-
To view the result, click show the result.
-
-
Select samples to find out DivKit abilities with Flutter client.
Connecting DivKit to your own Flutter project is described in the Flutter section.
Learn more
You can discuss topics of interest in the DivKit user community in Telegram: https://t.me/divkit_community_en.
Was the article helpful?
Previous
Next