DangerButton constructor

const DangerButton({
  1. Key? key,
  2. required Widget widget,
  3. required dynamic pressed()?,
})

Implementation

const DangerButton({Key? key, required this.widget, required this.pressed})
    : super(key: key);