my_formfield 0.0.8 copy "my_formfield: ^0.0.8" to clipboard
my_formfield: ^0.0.8 copied to clipboard

A customizable widget for easier and better implementation of the textformfield.

MyFormField #

This package provides a customizable and detailed TextFormField widget for creating complex forms in Flutter, with built-in validation and error handling.

Features #

  • Customizable input decoration
  • Built-in validation and error handling

Installation #

Add the following to your pubspec.yaml file:

dependencies:
  my_formfield: ^latest_version

Then, run flutter pub get in your terminal.

Usage #

To use MyFormField, import the package and create an instance of the widget, specifying the desired properties:


import 'package:my_formfield/my_formfield.dart';


              MyFormField(
                isLabel: true,
                inputLabel: 'Password',
                label: 'Password',
                inputHint: 'Enter password',
                obscureText: true,
                prefixIcon: const Icon(Icons.lock_outline),
                suffixIcon: const Icon(Icons.visibility),
                border: OutlineInputBorder(
                  borderRadius: BorderRadius.circular(12),
                ),
              ),

License #

This project is licensed under the MIT License - see the LICENSE file for details.

Additional information #

For more information about this package, including how to contribute, file issues, or contact the package authors, see the package repository on GitHub: my_formfield.

1
likes
150
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable widget for easier and better implementation of the textformfield.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on my_formfield