TopAlertNotification constructor
TopAlertNotification(
- BuildContext context,
- Widget child, {
- String? key,
- Color color = Colors.white,
- bool? closeOnX,
- VoidCallback? onTap,
- Duration duration = Duration.zero,
Implementation
TopAlertNotification(
this.context,
this.child, {
this.key,
this.color = Colors.white,
this.closeOnX,
this.onTap,
this.duration = Duration.zero,
});