Display and validate random number captcha
To use this plugin, add flutter_number_captcha
as a dependency in your pubspec.yaml file.
Here are small examples that show you how to use the API.
bool isValid = await FlutterNumberCaptcha.show(context);
// return true if entered number is right
// return false if dialog closed by user
bool isValid = await FlutterNumberCaptcha.show(
context,
titleText: 'Enter correct number',
placeholderText: 'Enter Number',
checkCaption: 'Check',
);
// return true if entered number is right
// return false if dialog closed by user
If you would like to contribute to the plugin, check out our contribution guide.