RectangleButton constructor
const
RectangleButton({
- Key? key,
- required VoidCallback onPressed,
- required IconData icon,
- double size = 70.0,
- double isize = 36.0,
- double cornerRadius = 12.0,
- Color baseColor = Colors.teal,
- 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,
});