ClickyStyle constructor

const ClickyStyle({
  1. Color color = const Color.fromARGB(18, 0, 0, 0),
  2. double borderRadius = 10,
  3. ShrinkScale shrinkScale = const ShrinkScale.byRatio(0.05),
  4. Curve curveColorIn = Curves.easeOut,
  5. Curve curveColorOut = Curves.easeOut,
  6. Curve curveSizeIn = Curves.easeOut,
  7. Curve curveSizeOut = Curves.easeOut,
  8. Duration durationIn = const Duration(milliseconds: 120),
  9. Duration durationOut = const Duration(milliseconds: 120),
  10. double boundaryFromInitialTouchPoint = 70,
  11. double boundaryFromWidgetOutline = 0,
  12. ClickyBoundaryStyle boundaryStyle = ClickyBoundaryStyle.fromInitialTouchPoint,
})

Implementation

const ClickyStyle({
  this.color = const Color.fromARGB(18, 0, 0, 0),
  this.borderRadius = 10,
  this.shrinkScale = const ShrinkScale.byRatio(0.05),
  this.curveColorIn = Curves.easeOut,
  this.curveColorOut = Curves.easeOut,
  this.curveSizeIn = Curves.easeOut,
  this.curveSizeOut = Curves.easeOut,
  this.durationIn = const Duration(milliseconds: 120),
  this.durationOut = const Duration(milliseconds: 120),
  this.boundaryFromInitialTouchPoint = 70,
  this.boundaryFromWidgetOutline = 0,
  this.boundaryStyle = ClickyBoundaryStyle.fromInitialTouchPoint,
});