SliderCaptcha constructor
const
SliderCaptcha({
- required Widget image,
- required Future<
void> onConfirm(- bool value
- String title = 'Slide to authenticate',
- TextStyle? titleStyle,
- double captchaSize = 30,
- Color colorBar = Colors.red,
- Color colorCaptChar = Colors.blue,
- SliderController? controller,
- double borderImager = 0,
- double imageToBarPadding = 0,
- Widget? icon,
- Key? key,
Implementation
const SliderCaptcha({
required this.image,
required this.onConfirm,
this.title = 'Slide to authenticate',
this.titleStyle,
this.captchaSize = 30,
this.colorBar = Colors.red,
this.colorCaptChar = Colors.blue,
this.controller,
this.borderImager = 0,
this.imageToBarPadding = 0,
this.icon,
Key? key,
}) : assert(0 <= borderImager && borderImager <= 5),
super(key: key);