rotating_widgets 1.1.0 rotating_widgets: ^1.1.0 copied to clipboard
Flutter Package to build rotating widgets with customizable option to allow rotation across X Axis and Y Axis along with a possibility to change the angle(radian) by which rotation occurs
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 |