DialogOption constructor

const DialogOption({
  1. Key? key,
  2. required String text,
  3. required bool check,
  4. required dynamic onPressed(),
})

Implementation

const DialogOption({
  Key? key,
  required this.text,
  required this.check,
  required this.onPressed,
}) : super(key: key);