Skip to content

flutter-custom-packages/advance_form_validators

Repository files navigation

Material Nepali Month/Year Picker

Pub

A comprehensive Flutter package for form validation, offering built-in support for text, email, password, numeric, date, and advanced custom validations.

Quick Start

  1. 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.

  2. Then run flutter pub get.

  3. Import this library into your code:

    import 'package:nepali_month_year_picker/nepali_month_year_picker.dart';
  4. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published