FastCutDownButton constructor

FastCutDownButton({
  1. double? height,
  2. int? time,
  3. Color backgroundColor = Colors.blue,
  4. Border? border,
  5. BorderRadius? borderRadius,
  6. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10, vertical: 5),
  7. VoidCallback? onTap,
  8. String text = "获取验证码",
  9. TextStyle textStyle = const TextStyle(color: Colors.white),
})

Implementation

FastCutDownButton({
  this.height,
  this.time,
  this.backgroundColor = Colors.blue,
  this.border,
  this.borderRadius,
  this.padding = const EdgeInsets.symmetric(horizontal: 10, vertical: 5),
  this.onTap,
  this.text = "获取验证码",
  this.textStyle = const TextStyle(color: Colors.white),
});