A Flutter package that provides a customizable numeric pad widget for integration into various screens, such as payment interfaces.
The Custom Numeric Pad Widget is designed to offer a customizable numeric pad interface that can be seamlessly integrated into Flutter applications, particularly in scenarios requiring numeric input, such as payment forms.
- Customizable button dimensions
 - Adjustable row and column spacing
 - Control over button colors and text style
 - Easy integration with TextEditingController
 
To use this widget in your Flutter application, follow these steps:
- 
Add the dependency to your
pubspec.yamlfile:dependencies: custom_numeric_pad: ^1.0.0 # Replace with the latest version
 - 
Import the package in your Dart code:
import 'package:custom_numeric_pad/custom_numpad_package.dart';
 - 
Use the CustomNumPad widget in your UI:
CustomNumPad( buttonHeight: 50, buttonWidth: 70, rowSpacing: 5, columnSpacing: 5, // Add other required parameters for your CustomNumPad widget )
 
| Parameter | Required | Default | Type | Description | 
|---|---|---|---|---|
| buttonHeight | No | 75 | double | Height of the numeric pad buttons | 
| buttonWidth | No | 65 | double | Width of the numeric pad buttons | 
| rowSpacing | No | 5 | double | Vertical spacing between rows of buttons | 
| columnSpacing | No | 5 | double | Horizontal spacing between columns of buttons | 
| buttonRadius | No | 0.0 | double | Radius for button corners | 
| buttonColor | No | F5F6FA | Color | Background color for buttons | 
| bgColor | No | Transparent | Color | Background color for the numeric pad | 
| cornerRadius | No | 0.0 | double | Corner radius for the entire numeric pad | 
| controller | No | null | TextEditingController? | Controller for the text input field | 
| buttonTextStyle | No | TextStyle() | TextStyle | Text style for the numeric pad buttons | 
| buttonBorder | No | 0.0 | double | Width of the border for the numeric pad buttons | 
| buttonBorderColor | No | Colors.transparent | Color | Color of the border for the numeric pad buttons | 
- 
Customized:
CustomNumPad( buttonHeight: 60, buttonWidth: 120, rowSpacing: 10, columnSpacing: 10, buttonRadius: 20, buttonColor: Colors.red, bgColor: Colors.yellow, // Add other required parameters for your CustomNumPad widget )
 - 
Basic:
CustomNumPad() 
Here's a visual representation of the CustomNumPad widget in action:
This project was created and is maintained by Ashutosh Mishra.
Website: https://thescriptrailoth.github.io/
If you have any queries or suggestions regarding this project, feel free to contact me at am3718440@gmail.com. We appreciate your interest and contributions.
For more information visit GitHub

