v0.2.1photox
인터랙티브 이미지를 표시하기 위한 종합 솔루션입니다.
📸 상호작용 가능한 이미지를 표시하기 위한 종합 솔루션
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
An all-in-one solution for displaying interactive images

Add photox as a dependency in your pubspec.yaml file
flutter pub add photox
Import PhotoX:
import 'package:photox/photox.dart';
@override
Widget build(BuildContext context) {
return Container(
height: 400,
width: 400,
child: PhotoX(
items: [
PhotoXItem(
id: "1", resource: "assets/img1.jpg", isAsset: true),
PhotoXItem(
id: "2", resource: "assets/img2.jpeg", isAsset: true),
]
)
);
}
DismissMode.swipeAny |
DismissMode.swipeVertical |
|---|---|
![]() |
![]() |
⚠️ DismissMode.swipeAny can only be used when provided with a single PhotoXItem
Whether to show the page indicator in the thumbnail gallery for multiple PhotoXItems
The alignment of the page indicator relative to the gallery
The color of the active bubble in the page indicator
The color of the inactive bubbles in the page indicator
The background color of the page indicator
The radius of the indicator bubbles in the page indicator
The padding between the bubbles in the page indicator
The TextStyle for the AppBar title in the fullscreen gallery
A custom widget to use as the leading widget in the fullscreen gallery AppBar
의존성 목록 6 개
^3.2.3^1.17.0{"sdk":"flutter"}^0.15.0{"sdk":"flutter"}^4.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗