A Flutter package for validating Goods and Services Tax (GST) numbers. The package provides a customizable GSTvalidator
widget that can be easily integrated into Flutter forms for GST number validation.
To use this package, add gstvalidator
as a dependency in your pubspec.yaml
file:
dependencies:
gstvalidator: ^0.0.1
Easily validate GST numbers using the customizable widget within your Flutter application.
Tailor the widget to your needs with the following customization features:
- Maximum Length: Specify the maximum length for GST numbers.
- Keyboard Type: Define the keyboard type to enhance the user experience.
Integrate the GST number validation widget effortlessly into your Flutter forms. It works seamlessly, providing a user-friendly experience without compromising on validation accuracy.
To use the GST Number Validation Widget in your Flutter project, follow these steps:
- Import the necessary package.
import 'package:flutter_gst_validator/flutter_gst_validator.dart';
- Use the Widget
GSTvalidator(
labelText: 'GST',
suffixIcon: Icons.abc,
controller: _controller,
autovalidateMode: AutovalidateMode.onUserInteraction,
),