Flutter android equivalent of scaleX and scaleY property

Posted by Jennifer | Updated on

Flutter android equivalent of scaleX and scaleY property. Here is the easiest way is to see how Transform.scale constructor works and use it in your custom Transform:

It scales both x and y so if you want only x axis to be scaled just use the following:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers