v1.2.0
rotating_widgets
किसी भी विजेट को 3D घूर्णन योग्य विजेट में बदलने की अनुमति देने वाला उच्च रूप से कस्टमाइज़ करने योग्य Flutter पैकेज
15लाइक 1130-दिन डाउनलोड30Pub अंक
प्लेटफ़ॉर्म डेटा नहीं
घूर्णन करने वाले विजेट बनाने के लिए Flutter पैकेज
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A simple widget which allows widgets to be turned into rotate-able widgets
Example gif
X Active Y active Z active XY Auto-Rotate
There are several options that allow for more control:
| Properties | Type | Description | Default Value | Required |
|---|---|---|---|---|
child |
Widget |
This is the widget which needs to be made rotate-able | null |
true |
rotateX |
boolean |
true if widget is allowed to rotate along X-Axis |
true |
false |
rotateY |
boolean |
true if widget is allowed to rotate along Y-Axis |
true |
false |
rotateZ |
boolean |
true if widget is allowed to rotate along Z-Axis. Note: This allows circular rotation on 2D plane |
false |
false |
angleRadianX |
double |
The angle by which widget turns across X-Axis, per unit Offset along that axis and if autoplay is false, or per unit duration is autoplay is true |
0.01 |
false |
angleRadianY |
double |
The angle by which widget turns across X-Axis, per unit Offset along that axis and if autoplay is false, or per unit duration is autoplay is true |
0.01 |
false |
angleRadianZ |
double |
The angle by which widget turns across X-Axis, per unit Offset along that axis and if autoplay is false, or per unit duration is autoplay is true |
0.01 |
false |
autoplay |
boolean |
Checks whether widget should rotate automatically or not | false |
false |
duration |
Duration |
The duration between which said child rotates around individual axis by said angle |
Duration(seconds: 1) |
false |
This package can convert any widget into a rotate-able widget including scaffold