captcha_view 0.0.1 copy "captcha_view: ^0.0.1" to clipboard
captcha_view: ^0.0.1 copied to clipboard

A new Flutter package.

captcha_view #

Captcha(
      {Key key,
      this.width = double.infinity,
      this.height = 40,
      this.backgroundColor = Colors.white,
      this.style = const TextStyle(fontSize: 18),
      this.text = '',
      this.lineColors,
      this.decoration = const BoxDecoration(
        color: Colors.white,
      )}) : super(key: key);

Usage:

Captcha(
    text: Captcha.generateText(length: 10,withLetter: true,withNumber: true),
)
Captcha(
  lineColors: null,
  text: Captcha.generateText(length: 4,withLetter: true,withNumber: true),
  width: 100,
  decoration: BoxDecoration(
    color: Colors.white,
    borderRadius: BorderRadius.circular(14)
  ),
)
Captcha(
  lineColors: Captcha.rainbowColors,
  text: Captcha.generateText(length: 8,withLetter: true,withNumber: true),
  width: 300,
  style: TextStyle(
    fontSize: 20,
    fontWeight: FontWeight.bold
  ),
)

Screenshot_1611307510.png Screenshot

4
likes
10
pub points
42%
popularity

Publisher

unverified uploader

A new Flutter package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on captcha_view