unique_form 0.0.2 copy "unique_form: ^0.0.2" to clipboard
unique_form: ^0.0.2 copied to clipboard

In this package , You can fully customize widgets/fields that related forms for eg.- buttons,input-fields,checkbox,radios,and chips and so on.

example/example.dart

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

///Example of this package
class Example extends StatefulWidget {
  const Example({Key? key}) : super(key: key);

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  final TextEditingController emailController = TextEditingController();
  final GlobalKey<FormState> _formKey = GlobalKey();
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Form(
        key: _formKey,
        child: Column(
          children: [
            TextFieldShow(
              controller: emailController,
            ),
            const SizedBox(
              height: 20,
            ),
            Row(
              children: [
                ElevatedButton(onPressed: () {}, child: const Text('Save')),
                const SizedBox(
                  width: 20,
                ),
                OutlinedButton(onPressed: () {}, child: const Text('Cancel')),
              ],
            ),
          ],
        ),
      ),
    );
  }
}
0
likes
70
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

In this package , You can fully customize widgets/fields that related forms for eg.- buttons,input-fields,checkbox,radios,and chips and so on.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on unique_form