Last updated:
0 purchases
my formfield
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
copied to clipboard
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),
),
),
copied to clipboard
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.