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