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

outdated

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

example/lib/main.dart

// ignore_for_file: public_member_api_docs

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(
    const ApptiveGrid(
      options: ApptiveGridOptions(
        environment: ApptiveGridEnvironment.alpha,
        authenticationOptions: ApptiveGridAuthenticationOptions(
          autoAuthenticate: true,
        ),
      ),
      child: MyApp(),
    ),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'ApptiveGrid',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('ApptiveGrid Forms'),
        ),
        body: ApptiveGridForm(
          formUri: FormUri.fromUri('YOUR_FORM_URI'),
          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