CaptchaView constructor

CaptchaView({
  1. Key? key,
  2. double width = double.infinity,
  3. double height = 40,
  4. Color backgroundColor = Colors.white,
  5. TextStyle style = const TextStyle(fontSize: 18),
  6. String text = '',
  7. List<Color>? lineColors,
  8. BoxDecoration decoration = const BoxDecoration(color: Colors.white),
})

Implementation

CaptchaView(
    {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);