theoremreach_flutter 1.0.4 copy "theoremreach_flutter: ^1.0.4" to clipboard
theoremreach_flutter: ^1.0.4 copied to clipboard

Elevate your Flutter app's user engagement and data-driven decision-making with the Flutter TheoremReach Integration package.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'TheoremReach Flutter Example',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({super.key});

  final TheoremReach theoremReach =
      TheoremReach(userId: 'YouUserId', apiKey: 'YouApiKey');

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text('TheoremReach Flutter Example'),
        ),
        body: Center(
          child: ElevatedButton(
              onPressed: () {
                theoremReach.showSurveys(context);
              },
              child: const Text('Show Surveys')),
        ));
  }
}
1
likes
150
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Elevate your Flutter app's user engagement and data-driven decision-making with the Flutter TheoremReach Integration package.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, webview_flutter

More

Packages that depend on theoremreach_flutter