사용자가 제품을 회전시켜 가상 투어를 할 수 있도록 해주는 상호작용형 360도 제품 보기 기능을 제공하는 플러터 패키지입니다. 다양한 플랫폼 간 원활한 통합을 위해 설계되었으며, 전자상거래 및 제품 전시에 적합한 몰입형 경험을 제공합니다. 클라우드 호스팅 이미지를 활용하여 최소한의 설정으로 부드럽고 반응성 있는 회전 효과를 제공합니다. 앱 내 제품 시각화를 쉽게 개선하고자 하는 개발자를 위한 것입니다.
사용 사례
전자상거래 제품 미리보기
가상 제품 투어
인터랙티브 카탈로그 표시
온라인 스토어 시각화
제품 세부 정보 향상
주요 기능
부드러운 360도 회전
크로스 플랫폼 지원 (Android, iOS, Web, macOS, Windows, Linux)
클라우드 기반 이미지 로딩
필요한 최소 구성
터치 및 마우스 상호작용 지원
적합한 대상
전자상거래 애플리케이션
제품 전시 앱
모바일 및 웹 리테일 플랫폼
디지털 카탈로그
인터랙티브 마케팅 도구
고려 사항
클라우드 호스팅된 360도 이미지 시퀀스가 필요합니다
성능은 이미지 품질과 네트워크 속도에 따라 달라집니다
고급 애니메이션에 대한 사용자 정의가 제한되어 있음
외부 이미지 소스의 신뢰성에 따라 다름
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Flutter Cloudimage 360 View
A simple, interactive resource that can be used to provide a virtual tour of your product.
Your images folder on your cloud/cdn.
Base Data Folder Url For the main image.
i.e https://domain.com/images/360-tesla/
imageName
Type: Function | required
The filename pattern for your 360 image in x|y Axis builder.
String Function(int index)
Must return a valid String path with the called index
which the library will call with a number between 1 and imageLength for axis x|y.
Based on the value the direction of rotation is set.
onImageChanged
Type: Function | Default: null | optional
Callback Function(int index, CIImageChangedReason reason, Axis axis) to provide you the index of current image when image frame is changed with the image axis and reason.
Controller
Ci360Controller
Type: class | Default: "Ci360ControllerImpl" | optional
The controller of the ci360 package.
You can implement your own controllers
i.e
classCustomCi360ControllerimplementsCi360Controller{
// Should Override this variables as below@overrideCompleter readyCompleter = Completer();
Ci360State? _state;
@overridesetstate(Ci360State? state) {
_state = state;
if (!readyCompleter.isCompleted) {
readyCompleter.complete();
}
}
// Implement the required methods with your custom callbacks// Then Pass Your Custom Controller To [Ci360View] widget.
}
Methods
nextImage
Type: Function
manually roate to next image.
previousImage
Type: Function
manually roate to previous image.
rotateToImage
Type: Function | Parameter: ( int index, [Axis axis = Axis.horizontal] )
manually roate to specified index on specified axis.
stopAutoPlay
Type: Function
manually stop auto rotate of images.
This is a more on-demand way of doing this. Use the autoRotate
parameter in Ci360Options to specify the autoRotate behaviour of the ImageView.
startAutoPlay
Type: Function
manually start auto rotate of images.
The ImageView will only autoPlay if the autoRotate parameter
in Ci360Options is true.
In order to use cloudimage 360 view, your original (master) images should be stored on a server
or storage bucket (S3, Google Cloud, Azure Blob...) reachable over
HTTP or HTTPS.
Contributing!
All contributions are super welcome!
License
Flutter Cloudimage 360 View is provided under the MIT License