SmoothCloseButton constructor

const SmoothCloseButton({
  1. required VoidCallback onClose,
  2. required Color circleColor,
  3. required Color crossColor,
  4. required String tooltip,
  5. Color? circleBorderColor,
  6. EdgeInsetsGeometry? padding,
  7. double? circleSize = 28.0,
  8. double? crossSize = 14.0,
  9. Key? key,
})

Implementation

const SmoothCloseButton({
  required this.onClose,
  required this.circleColor,
  required this.crossColor,
  required this.tooltip,
  this.circleBorderColor,
  this.padding,
  this.circleSize = 28.0,
  this.crossSize = 14.0,
  super.key,
}) : assert(tooltip.length > 0);