FizzyButton constructor

const FizzyButton({
  1. Key? key,
  2. Future<void> onTap()?,
  3. double width = 220,
  4. double height = 60,
  5. List<Color> gradientColors = const [Colors.blue, Colors.cyan],
  6. Color bubbleColor = Colors.white,
  7. Color textColor = Colors.white,
  8. String text = "Login",
  9. String loadingText = "Logging in...",
})

Implementation

const FizzyButton({
  super.key,
  this.onTap,
  this.width = 220,
  this.height = 60,
  this.gradientColors = const [Colors.blue, Colors.cyan],
  this.bubbleColor = Colors.white,
  this.textColor = Colors.white,
  this.text = "Login",
  this.loadingText = "Logging in...",
});