ClickyStyle constructor
const
ClickyStyle({
- Color color = const Color.fromARGB(18, 0, 0, 0),
- double borderRadius = 10,
- ShrinkScale shrinkScale = const ShrinkScale.byRatio(0.05),
- Curve curveColorIn = Curves.easeOut,
- Curve curveColorOut = Curves.easeOut,
- Curve curveSizeIn = Curves.easeOut,
- Curve curveSizeOut = Curves.easeOut,
- Duration durationIn = const Duration(milliseconds: 120),
- Duration durationOut = const Duration(milliseconds: 120),
- double boundaryFromInitialTouchPoint = 70,
- double boundaryFromWidgetOutline = 0,
- 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,
});