SuccessButton constructor

const SuccessButton({
  1. Key? key,
  2. required String title,
  3. required Function onPressed,
})

Implementation

const SuccessButton({Key? key, required this.title, required this.onPressed})
    : super(key: key);