PrettySlideIconButton constructor
const
PrettySlideIconButton({
- Key? key,
- required Color foregroundColor,
- required IconData icon,
- required String label,
- required TextStyle labelStyle,
- SlidePosition slidePosition = SlidePosition.left,
- Duration duration = duration500,
- Curve curve = Curves.easeInOut,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: s24, vertical: s12),
- double borderWidth = s1,
- required VoidCallback onPressed,
Implementation
const PrettySlideIconButton({
super.key,
required this.foregroundColor,
required this.icon,
required this.label,
required this.labelStyle,
this.slidePosition = SlidePosition.left,
this.duration = duration500,
this.curve = Curves.easeInOut,
this.padding = const EdgeInsets.symmetric(
horizontal: s24,
vertical: s12,
),
this.borderWidth = s1,
required this.onPressed,
});