PrettyCapsuleButton constructor
const
PrettyCapsuleButton({
- Key? key,
- TextStyle? labelStyle,
- required String label,
- Color bgColor = kBlack,
- Color foregroundColor = kWhite,
- IconData icon = Icons.arrow_forward_ios,
- double iconSize = 16,
- required VoidCallback onPressed,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: s24, vertical: s14),
Implementation
const PrettyCapsuleButton({
super.key,
this.labelStyle,
required this.label,
this.bgColor = kBlack,
this.foregroundColor = kWhite,
this.icon = Icons.arrow_forward_ios,
this.iconSize = 16,
required this.onPressed,
this.padding = const EdgeInsets.symmetric(horizontal: s24, vertical: s14),
});