UnSheet<T> constructor Null safety

const UnSheet<T>(
  1. {required Widget child,
  2. SmoothRadius? topRadius,
  3. Color? transitionBackgroundColor = Colors.black,
  4. SystemUiOverlayStyle? overlayStyle,
  5. Color? backgroundColor,
  6. double? elevation,
  7. double? closeProgressThreshold,
  8. ShapeBorder? shape,
  9. Clip? clipBehavior,
  10. Color? barrierColor,
  11. bool expand = false,
  12. AnimationController? secondAnimation,
  13. Curve? animationCurve,
  14. Curve? previousRouteAnimationCurve,
  15. bool useRootNavigator = false,
  16. bool bounce = true,
  17. bool? isDismissible,
  18. bool enableDrag = true,
  19. Duration? duration,
  20. RouteSettings? settings,
  21. BoxShadow? shadow,
  22. LocalKey? key,
  23. String? name,
  24. Object? arguments,
  25. String? restorationId}
)

Implementation

const UnSheet({
  required this.child,
  this.topRadius,
  this.transitionBackgroundColor = Colors.black,
  this.overlayStyle,
  this.backgroundColor,
  this.elevation,
  this.closeProgressThreshold,
  this.shape,
  this.clipBehavior,
  this.barrierColor,
  this.expand = false,
  this.secondAnimation,
  this.animationCurve,
  this.previousRouteAnimationCurve,
  this.useRootNavigator = false,
  this.bounce = true,
  this.isDismissible,
  this.enableDrag = true,
  this.duration,
  this.settings,
  this.shadow,
  super.key,
  super.name,
  super.arguments,
  super.restorationId,
});