SlidableNotificationListener constructor
const
SlidableNotificationListener({})
Creates a SlidableNotificationListener.
Implementation
const SlidableNotificationListener({
Key? key,
this.onNotification,
this.autoClose = true,
required this.child,
}) : assert(
autoClose || onNotification != null,
'Either autoClose or onNotification must be set.',
),
super(key: key);