NudgeButton constructor
const
NudgeButton(
- NudgeBox box, {
- required String label,
- required NudgeButtonVariant variant,
- required double fontSize,
- required FontWeight weight,
- required Color background,
- required Color textColor,
- required double radius,
- required List<
EngageAction> actions, - 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,
});