NotificationButton constructor

const NotificationButton({
  1. required String id,
  2. required String text,
  3. Color? textColor,
})

Constructs an instance of NotificationButton.

Implementation

const NotificationButton({
  required this.id,
  required this.text,
  this.textColor,
})  : assert(id.length > 0),
      assert(text.length > 0);