NotificationOverlay constructor
const
NotificationOverlay({
- Key? key,
- required String title,
- required OverlayEntry overlayEntry,
- TextStyle? style,
- Duration durationToClose = const Duration(seconds: 5),
- AlignmentGeometry align = Alignment.topCenter,
- 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);