PrimaryButton constructor

const PrimaryButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. IconData? icon,
})

Implementation

const PrimaryButton(
    {super.key, required this.label, this.onPressed, this.icon});