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:

  1. Install Flutter

  2. Download DivKit library files from repository

  3. Run Playground App:

    flutter run -t example/lib/main.dart
    
  4. Select demo.

    1. 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.

    2. To view the result, click show the result.

  5. 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.

DivKit Repository

Previous