NudgeButton constructor

const NudgeButton(
  1. NudgeBox box, {
  2. required String label,
  3. required NudgeButtonVariant variant,
  4. required double fontSize,
  5. required FontWeight weight,
  6. required Color background,
  7. required Color textColor,
  8. required double radius,
  9. required List<EngageAction> actions,
  10. required bool isPrimary,
})

Implementation

const NudgeButton(
  super.box, {
  required this.label,
  required this.variant,
  required this.fontSize,
  required this.weight,
  required this.background,
  required this.textColor,
  required this.radius,
  required this.actions,
  required this.isPrimary,
});