apptive_grid_form 0.3.1 copy "apptive_grid_form: ^0.3.1" to clipboard
apptive_grid_form: ^0.3.1 copied to clipboard

outdated

A Flutter Package to display ApptiveGrid Forms inside a Flutter App.

example/lib/main.dart

import 'package:apptive_grid_core/apptive_grid_core.dart';
import 'package:apptive_grid_form/apptive_grid_form.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    ApptiveGrid(
      options: ApptiveGridOptions(
          environment: ApptiveGridEnvironment.alpha,
          authenticationOptions: ApptiveGridAuthenticationOptions(
            autoAuthenticate: true,
          )),
      child: MyApp(),
    ),
  );
}

/// Simply add a ApptiveGridForm Widget to your Widget Tree
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Apptive Grid',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('ApptiveGrid Forms'),
        ),
        body: ApptiveGridForm(
          formUri: RedirectFormUri(form: 'YOUR_FORM_ID'),
          titleStyle: Theme.of(context).textTheme.headline6,
          contentPadding:
              const EdgeInsets.symmetric(horizontal: 16, vertical: 0),
          titlePadding: const EdgeInsets.all(16),
        ),
      ),
    );
  }
}
4
likes
0
pub points
23%
popularity

Publisher

verified publisherapptivegrid.de

A Flutter Package to display ApptiveGrid Forms inside a Flutter App.

Homepage

License

unknown (LICENSE)

Dependencies

apptive_grid_core, flutter, intl, linked_scroll_controller, lottie

More

Packages that depend on apptive_grid_form