flutter_number_captcha 0.0.8 copy "flutter_number_captcha: ^0.0.8" to clipboard
flutter_number_captcha: ^0.0.8 copied to clipboard

Flutter plugin to display random number captcha. This plugin will show dialog and validate number captcha.

Flutter Number Captcha #

Display and validate random number captcha

demo

Usage #

To use this plugin, add flutter_number_captcha as a dependency in your pubspec.yaml file.

Example #

Here are small examples that show you how to use the API.

Default

bool isValid = await FlutterNumberCaptcha.show(context);
// return true if entered number is right
// return false if dialog closed by user

Custom Property

bool isValid = await  FlutterNumberCaptcha.show(
	context,
	titleText: 'Enter correct number',
	placeholderText: 'Enter Number',
	checkCaption: 'Check',
	accentColor: Colors.blue,
    invalidText: 'Invalid code',
);
// return true if entered number is right
// return false if dialog closed by user
20
likes
130
pub points
73%
popularity

Publisher

verified publisherknowna.me

Flutter plugin to display random number captcha. This plugin will show dialog and validate number captcha.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_number_captcha