RectangleButton constructor

const RectangleButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. required IconData icon,
  4. double size = 70.0,
  5. double isize = 36.0,
  6. double cornerRadius = 12.0,
  7. Color baseColor = Colors.teal,
  8. RectangleButtonAnimationType animationType = RectangleButtonAnimationType.pulseOnly,
})

Implementation

const RectangleButton({
  super.key,
  required this.onPressed,
  required this.icon,
  this.size = 70.0,
  this.isize = 36.0,
  this.cornerRadius = 12.0,
  this.baseColor = Colors.teal,
  this.animationType = RectangleButtonAnimationType.pulseOnly,
});