CLLinkButton constructor

const CLLinkButton({
  1. Key? key,
  2. required Color color,
  3. required String text,
  4. required dynamic onTap(),
  5. required BuildContext context,
  6. required IconAlignment iconAlignment,
  7. IconData? iconData,
  8. Widget? hugeIcon,
  9. bool needConfirmation = false,
  10. String? confirmationMessage,
  11. double? width,
  12. bool isCompact = false,
})

Implementation

const CLLinkButton({
  super.key,
  required this.color,
  required this.text,
  required this.onTap,
  required this.context,
  required this.iconAlignment,
  this.iconData,
  this.hugeIcon,
  this.needConfirmation = false,
  this.confirmationMessage,
  this.width,
  this.isCompact = false,
}) : _colored = false;