NotificationOverlay constructor

const NotificationOverlay({
  1. Key? key,
  2. required String title,
  3. required OverlayEntry overlayEntry,
  4. TextStyle? style,
  5. Duration durationToClose = const Duration(seconds: 5),
  6. AlignmentGeometry align = Alignment.topCenter,
  7. Color? color,
})

Implementation

const NotificationOverlay({
  Key? key,
  required this.title,
  required this.overlayEntry,
  this.style,
  this.durationToClose = const Duration(seconds: 5),
  this.align = Alignment.topCenter,
  this.color,
}) : super(key: key);