form_builder 2.0.0-alpha3 copy "form_builder: ^2.0.0-alpha3" to clipboard
form_builder: ^2.0.0-alpha3 copied to clipboard

outdated

flutter row-column based form builder, build form quickly,create field fast,less code,more powerful

example/main.dart

import 'package:flutter/material.dart';
import 'page/demo2.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Form Builder',
      home: MyHomePage(title: 'Flutter Form Builder'),
      routes: {
        '/demo2': (context) => Demo2Page(),
      },
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: ListView(
          children: [
            TextButton(
                onPressed: () {
                  Navigator.pushNamed(context, '/demo2');
                },
                child: Text('demo2 page')),
          ],
        ));
  }
}
1
likes
80
points
240
downloads

Publisher

unverified uploader

Weekly Downloads

flutter row-column based form builder, build form quickly,create field fast,less code,more powerful

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on form_builder