images_swiper 0.0.1 images_swiper: ^0.0.1 copied to clipboard
仿iMessage多图效果 package
Images Swiper #
A simple Flutter Package to Mimic iMessage Image Picker for Flutter
Features #
Getting started #
In the pubspec.yaml
of your flutter project, add the following dependency:
dependencies:
...
images_swiper:
import 'package:images_swiper/images_swiper.dart';
Usage #
- ImagesSwiper(images: [])
- ImagesSwiper.builder(imageCount: 5, imageBuilder: (context, index) => "")
ImagesSwiper.builder(
imageCount: maxCount,
alignment: Alignment.center,
pageController: _pageController,
imageBuilder: (context, index) => "assets/${index + 1}.jpg",
)