TooltipShapeBorder constructor Null safety

const TooltipShapeBorder(
  1. {double radius = 10.0,
  2. double arrowWidth = 20.0,
  3. double arrowHeight = 20.0,
  4. double arrowArc = 0.0}
)

Implementation

const TooltipShapeBorder({
  this.radius = 10.0,
  this.arrowWidth = 20.0,
  this.arrowHeight = 20.0,
  this.arrowArc = 0.0,
}) : assert(arrowArc <= 1.0 && arrowArc >= 0.0);