CLSoftButton constructor
const
CLSoftButton({
- Key? key,
- required Color color,
- required String text,
- required dynamic onTap(),
- required BuildContext context,
- required IconAlignment iconAlignment,
- bool needConfirmation = false,
- String? confirmationMessage,
- IconData? iconData,
- List<
List> ? hugeIcon, - double? width,
- bool isCompact = false,
- double? borderRadius,
Implementation
const CLSoftButton({
super.key,
required this.color,
required this.text,
required this.onTap,
required this.context,
required this.iconAlignment,
this.needConfirmation = false,
this.confirmationMessage,
this.iconData,
this.hugeIcon,
this.width,
this.isCompact = false,
this.borderRadius,
}) : _colored = false;