CyberButton constructor

const CyberButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onClick,
  4. Color backgroundColor = const Color(0xFF00D287),
  5. Color textColor = Colors.white,
  6. double borderRadius = 30.0,
  7. double paddingVertical = 12.0,
  8. double paddingHorizontal = 10.0,
  9. bool isReadOnly = false,
})

Implementation

const CyberButton({
  super.key,
  required this.label,
  this.onClick,
  this.backgroundColor = const Color(0xFF00D287),
  this.textColor = Colors.white,
  this.borderRadius = 30.0,
  this.paddingVertical = 12.0,
  this.paddingHorizontal = 10.0,
  this.isReadOnly = false,
});