FractionalTranslation

FractionalTranslation Widget – Flutter Widget Guide By Flutter Agency

· 3 min read

What is FractionalTranslation Widget in Flutter? FractionalTranslation Widget is a widget that applies a translation expressed as a fraction of the box’s size before painting its child. The translation is expressed as an Offset scaled to the child’s size. For example, an Offset with a dx of 0.25 will result in a horizontal translation of…