MacosSheet constructor

const MacosSheet({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsets? insetPadding = _defaultInsetPadding,
  4. Duration insetAnimationDuration = const Duration(milliseconds: 100),
  5. Curve insetAnimationCurve = Curves.decelerate,
  6. Color? backgroundColor,
})

A modal dialog that’s attached to a particular window and prevents further interaction with the window until the sheet is dismissed.

Implementation

const MacosSheet({
  super.key,
  required this.child,
  this.insetPadding = _defaultInsetPadding,
  this.insetAnimationDuration = const Duration(milliseconds: 100),
  this.insetAnimationCurve = Curves.decelerate,
  this.backgroundColor,
});