Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter mirror-inverted widget

import 'dart:math' as math; // import this

Transform( //Wrap your widget with the Transform widget
  alignment: Alignment.center, //Default is left
  transform: Matrix4.rotationY(math.pi), //Mirror Widget
  child: Icon(Icons.rotate_left, size: 100,), //Your widget
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #widget
ADD COMMENT
Topic
Name
9+5 =