validation_textformfield 1.1.5 copy "validation_textformfield: ^1.1.5" to clipboard
validation_textformfield: ^1.1.5 copied to clipboard

outdated

A new Flutter project.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  validation_textformfield: Update version
  1. Import the package and use it in your Flutter App.
import 'package:validation_textformfield/validation_textformfield.dart';
    

Image #

Email

A Flutter package for launching a Validation TextFormField . Supports iOS, Android, web, Windows, macOS, and Linux.

Example #


email_validation_textfromfiled(
whenTextFieldEmpty: "Please enter  email",
validatorMassage: "Please enter valid email",
decoration: InputDecoration(
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.black, width: 0.5),
),
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.black, width: 0.5),
),
border: OutlineInputBorder(),
counterText: '',
hintStyle: TextStyle(color: Colors.black, fontSize: 18.0)),

textEditingController: txtEmailCtrl,
)

See the example app for more complex examples.