d_pin

Creator: coderz1093

Last updated:

0 purchases

d_pin Image
d_pin Images

Languages

Categories

Add to Cart

Description:

d pin

DPin #
Otp and pin input field with and without button and fully customized.
Demo #




Patron #

Become a Patron!
Setup #
dependencies:
DPin: 0.0.1
copied to clipboard
import 'package:d_pin/d_pin.dart';
copied to clipboard
#Ecample
DPin(
buttonColor: Colors.blue,
buttonText: "Confirm",
number: 6,
fieldBorderColor: Colors.blue,
withButton: true,
onValueChanged: (v) {
setState(() {
value = v;
});
},
)
copied to clipboard
Properties #
/// How many box you need
final int number;

/// visible or secured
final bool hidden;

/// Box color
final Color fieldBorderColor;

/// Button text
final String buttonText;

/// Button color
final Color buttonColor;

/// Button text color
final Color buttonTextColor;

/// Button width
final double buttonWidth;

/// Box or underline
final bool underline;

/// With button or last button filled
final bool withButton;

/// Return result
final ValueChanged<int> onValueChanged;
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.