AntdTabShaderMask constructor

const AntdTabShaderMask({
  1. Key? key,
  2. required Widget child,
  3. Curve fadeCurve = Curves.easeOutCubic,
  4. double fadeWidth = 0.05,
})

Implementation

const AntdTabShaderMask({
  super.key,
  required this.child,
  this.fadeCurve = Curves.easeOutCubic,
  this.fadeWidth = 0.05,
}) : assert(fadeWidth >= 0.05 && fadeWidth <= 0.3);