multi_image_layout 0.0.7 copy "multi_image_layout: ^0.0.7" to clipboard
multi_image_layout: ^0.0.7 copied to clipboard

outdated

Package to view a list of network images in different layouts depending on their number.

Description #

This package gives a twitter-like layout to images. Simply add one or more images and watch the layout change. Captions can also be added to each image.

Screenshot_1656283282

Screenshot_1656283292

Getting started #

import 'package:multi_image_layout/multi_image_viewer.dart';

iOS #

Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

  • NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.

Android #

  • android.permission.WRITE_EXTERNAL_STORAGE - Permission for usage of external storage

Usage #

import 'package:multi_image_layout/multi_image_viewer.dart';
MultiImageViewer(
  images: [
    "https://picsum.photos/id/1/200/300",
    "https://picsum.photos/id/2/200/300",
    "https://picsum.photos/id/3/200/300",
  ],
  captions: [
    "Caption 1",
    "Caption 2",
    "Caption 3",
  ],
  height: 200,
  width: 200,
 ),

🀝 Contributing #

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support #

Give a πŸ‘ if you like this project!

πŸ“ License #

This project is MIT licensed.

59
likes
0
points
87
downloads

Publisher

unverified uploader

Weekly Downloads

Package to view a list of network images in different layouts depending on their number.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, gallery_saver, photo_view, readmore

More

Packages that depend on multi_image_layout