infinity_view 1.0.0 infinity_view: ^1.0.0 copied to clipboard
Infinity View allows you to create a view that can be transformed infinitely.
0.1.0 #
The initial release.
0.2.0 #
Now supports zooming in with the mouse scroll wheel.
You can adjust the mouse zoom speed with scrollWheelSensitivity
.
Added rotation snapping.
Can be enabled by setting rotationSnappingThreshold
.
0.2.1 #
Bug fixed where scale was not properly adjusting to the focal point.
0.3.0 #
Add more options for the mouse scroll wheel.
You can change this by passing a ScrollWheelBehavior
to scrollWheelBehavior
parameter or by returning a ScrollWheelBehavior
in a callback through scrollWheelHandler
.
Adds InfinityViewController
which allows you to manipulate the transformations programmatically.
1.0.0 #
This is the first major release and updating is highly recommended.
Improve the InfinityViewController
reliability by reattaching functions on didUpdateWidget
.
You should update to this version if you are using the InfinityViewController
to prevent random errors.
Allows widgets larger than itself.
Before this, widgets were constrained to the InfinityView
size and clipped if it was larger.
Now it works as expected, allowing you to provide a widget of any size.
Be sure to read into shrinkWrap
in the documentation or the project README.
This is set to true by default which may (but not always) result in your widget still being constrained by the InfinityView
size.
Add examples and images!
You can now copy the main.dart
file in the example folder (and update your pubspec) and see it in action.
The README also now includes images.