hd-motion / flutter_imageview_360 Goto Github PK
View Code? Open in Web Editor NEWA Flutter package which provides 360 view of the images with rotation and gesture customisations.
License: Apache License 2.0
A Flutter package which provides 360 view of the images with rotation and gesture customisations.
License: Apache License 2.0
I don't see an option for this, but can we possibly set a starting index for the 360 sequence? So for example, if I want to start the sequence at the 10th image instead of the 1st, on the initial load of the widget.
This library is not yet updated for null safety
I tried to download an images and then add them to an array , pass this array to ImageView360 widget ,
but it take only AssetImage, so there i must have an images first in assets .
How to do this?
I didn't understand what on earth was going on until I discovered a property I didn't know about that I believe is not set properly. In the build function:
@override
Widget build(BuildContext context) {
return Column(
children: <Widget>[
GestureDetector(
onHorizontalDragEnd: (details) {
localPosition = 0.0;
},
onHorizontalDragUpdate: (details) {
// Swipe check,if allowed than only will image move
if (widget.allowSwipeToRotate) {
if (details.delta.dx > 0) {
handleRightSwipe(details);
} else if (details.delta.dx < 0) {
handleLeftSwipe(details);
}
}
},
child: Image(image: widget.imageList[rotationIndex]),
),
],
);
}
child: Image(image: widget.imageList[rotationIndex]),
should be changed to child: Image(gaplessPlayback: true, image: widget.imageList[rotationIndex]),
.
Perhaps on a Samsung Galaxy S10 or an iPhone 10 you can't even notice it cause they're so fast, but on the Android emulator or a mid-range Android device, it's very clearly noticeable.
gaplessPlayback: true.
Please update null safety . Is their anyone to do ?
If I don't want to use assets image then how can I do it by picking an image from camera or gallery?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.