GradientFade constructor

GradientFade({
  1. dynamic strength,
  2. dynamic type,
  3. dynamic horizontalStartPoint,
  4. dynamic verticalStartPoint,
})

Implementation

GradientFade(
    {dynamic strength,
    dynamic type,
    dynamic horizontalStartPoint,
    dynamic verticalStartPoint}) {
  _strength = strength;
  _type = type;
  _horizontalStartPoint = horizontalStartPoint;
  _verticalStartPoint = verticalStartPoint;
}