SecondaryButton constructor

const SecondaryButton({
  1. Key? key,
  2. required String label,
  3. void onPressed()?,
  4. bool isLoading = false,
})

Implementation

const SecondaryButton({
  Key? key,
  required String label,
  void Function()? onPressed,
  bool isLoading = false,
}) : super(
        key: key,
        label: label,
        backgroundColor: Colors.white,
        textColor: graphite,
        onPressed: onPressed,
        isLoading: isLoading,
        shadowOpacity: 0.2,
      );