TranslateGradient constructor
This class's transform method considers TextDirection and
will consider positive values as translation to the right if ltr
and translate left for positive values if rtl
.
The default TransformGradient for Foil
.
Implementation
const TranslateGradient({required this.percentX, required this.percentY});