WarnButton constructor

const WarnButton({
  1. Key? key,
  2. required dynamic onPressed(),
  3. required String label,
})

Implementation

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