Sheet.circle constructor

const Sheet.circle({
  1. Key? key,
  2. double? radius,
  3. Duration? duration,
  4. Curve? curve,
  5. SheetVariant? variant,
  6. SheetSeverity? severity,
  7. EdgeInsetsGeometry? margin,
  8. EdgeInsetsGeometry? padding,
  9. Alignment? alignment,
  10. Clip? clipBehavior,
  11. Color? overlayColor,
  12. Color? shadowColor,
  13. double? elevation,
  14. TextStyle? foregroundStyle,
  15. Color? foregroundColor,
  16. double? foregroundOpacity,
  17. int? foregroundAlpha,
  18. double? foregroundSpacing,
  19. Color? backgroundColor,
  20. double? backgroundOpacity,
  21. int? backgroundAlpha,
  22. Color? borderColor,
  23. double? borderOpacity,
  24. int? borderAlpha,
  25. double? borderWidth,
  26. BorderRadius? borderRadius,
  27. BorderStyle? borderStyle,
  28. Color? iconColor,
  29. double? iconOpacity,
  30. double? iconSize,
  31. SheetStyle? style,
  32. String? tooltip,
  33. Widget? child,
})

Implementation

const Sheet.circle({
  super.key,
  double? radius,
  this.duration,
  this.curve,
  this.variant,
  this.severity,
  this.margin,
  this.padding,
  this.alignment,
  this.clipBehavior,
  this.overlayColor,
  this.shadowColor,
  this.elevation,
  this.foregroundStyle,
  this.foregroundColor,
  this.foregroundOpacity,
  this.foregroundAlpha,
  this.foregroundSpacing,
  this.backgroundColor,
  this.backgroundOpacity,
  this.backgroundAlpha,
  this.borderColor,
  this.borderOpacity,
  this.borderAlpha,
  this.borderWidth,
  this.borderRadius,
  this.borderStyle,
  this.iconColor,
  this.iconOpacity,
  this.iconSize,
  this.style,
  this.tooltip,
  this.child,
})  : shape = BoxShape.circle,
      width = radius != null ? radius * 2 : null,
      height = radius != null ? radius * 2 : null;