GradientTranslation constructor

const GradientTranslation(
  1. double dx
)

Implementation

const GradientTranslation(this.dx);