How to embed a Typeform into a Flutter App

Hi Flutter fam,
Do you know how could I embed a Typeform (https://www.typeform.com/) into a Flutter app? The idea is to give business people flexibility to change the form’s content on the go without having to publish the app over and over again - not sure if that is possible though.
Thank you,
Diego

Hello and welcome Diego (ciao? hola? :thinking:)
I dont’ know Typeform, never used it, but since it seems html based I’d try embedding it in a WebView widget.

The implementation seems quite straightforward too.
I tested with

embedding the Contact Form demo example as follows:

import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({Key key}) : super(key: key)

  @override
  Widget build(BuildContext context) {
    return WebviewScaffold(
      url: '<your shared url here>',
      appBar: AppBar(
        title: const Text('Typeform in Flutter'),
      ),
      initialChild: Container(
        color: Colors.blue[200],
        child: const Center(
          child: Text('Waiting...'),
        ),
      ),
    );
  }
}

I could interact with the form, and see the results in the Typeform’s dashboard. Cool!

Hth.