NotificationScope constructor

const NotificationScope({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(seconds: 8),
  4. bool floatSnackBar = false,
  5. double leftOffset = 0.0,
  6. double rightOffset = 0.0,
  7. double bottomOffset = 0.0,
  8. EdgeInsets snackBarMargin = const EdgeInsets.fromLTRB(15.0, 5.0, 15.0, 5.0),
})

Implementation

const NotificationScope({
  super.key,
  required this.child,
  this.duration = const Duration(seconds: 8),
  this.floatSnackBar = false,
  this.leftOffset = 0.0,
  this.rightOffset = 0.0,
  this.bottomOffset = 0.0,
  this.snackBarMargin = const EdgeInsets.fromLTRB(15.0, 5.0, 15.0, 5.0),
});