ShimmerButton constructor

const ShimmerButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onTap,
  4. double? width,
  5. double? height,
  6. IconData? icon,
  7. bool isLoading = false,
  8. Color? primaryColor,
  9. Color? secondaryColor,
  10. Color? accentColor,
})

Implementation

const ShimmerButton({
  super.key,
  required this.text,
  required this.onTap,
  this.width,
  this.height,
  this.icon,
  this.isLoading = false,
  this.primaryColor,
  this.secondaryColor,
  this.accentColor,
});