NotificationIconData constructor

const NotificationIconData({
  1. required ResourceType resType,
  2. required ResourcePrefix resPrefix,
  3. required String name,
  4. Color? backgroundColor,
})

Constructs an instance of NotificationIconData.

Implementation

const NotificationIconData({
  required this.resType,
  required this.resPrefix,
  required this.name,
  this.backgroundColor,
}) : assert(name.length > 0);