advance_form_validators 0.0.1 advance_form_validators: ^0.0.1 copied to clipboard
A comprehensive Flutter package for form validation, offering built-in support for text, email, password, numeric, date, and advanced custom validations.
Material Nepali Month/Year Picker #
A comprehensive Flutter package for form validation, offering built-in support for text, email, password, numeric, date, and advanced custom validations.
Quick Start #
-
Open your
pubspec.yaml
file and add this entry:advance_form_validators: ^0.0.1+1
OR just run
flutter pub add advance_form_validators
using your preferred terminal app. -
Then run
flutter pub get
. -
Import this library into your code:
import 'package:nepali_month_year_picker/nepali_month_year_picker.dart';
-
Usage in code:
TextFormField( validator: DateValidator( validators: [ Required(), BeforeDate(beforeDate: DateTime(2000)), ], ).validate, autovalidateMode: AutovalidateMode.onUserInteraction, ),
License #
This project is licensed under the MIT License - see the LICENSE file for details.