OmegaGradientButton constructor

OmegaGradientButton({
  1. required String text,
  2. IconData? icon,
  3. required double width,
  4. required double height,
  5. bool withIcon = false,
  6. double fontSize = 14,
  7. double iconSpace = 0,
  8. void onPressed()?,
  9. Color color = Colors.black,
  10. Color iconColor = Colors.grey,
  11. Color textColor = Colors.white,
})

Implementation

OmegaGradientButton({
  required this.text,
  this.icon,
  required this.width,
  required this.height,
  this.withIcon = false,
  this.fontSize = 14,
  this.iconSpace = 0,
  this.onPressed,
  this.color = Colors.black,
  this.iconColor = Colors.grey,
  this.textColor = Colors.white,
});