rotating_widgets 1.0.1 rotating_widgets: ^1.0.1 copied to clipboard
A new Flutter package project.
rotating_widgets #
A simple widget which allows widgets to be turned into rotate-able widgets
Note: This widget doesn't allow automatic rotation as of yet
Custom Usage #
There are several options that allow for more control:
Properties | Type | Description |
---|---|---|
child |
Widget |
This is the widget which needs to be made rotate-able |
rotateX |
boolean |
true if widget is allowed to rotate along X-Axis |
rotateY |
boolean |
true if widget is allowed to rotate along Y-Axis |
rotateZ |
boolean |
true if widget is allowed to rotate along Z-Axis. Note: This allows circular rotation on 2D plane |
angleRadian |
double |
Specify the angle by which rotation is calculated |