image_carousel 0.4.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 44

flutter_image_carousel

A flutter package for image carousels.

Supports both Asset and Network images.

Example

new ImageCarousel(
  <ImageProvider>[
    new NetworkImage('http://www.hilversum.ferraridealers.com/siteasset/ferraridealer/54f07ac8c35b6/961/420/selected/0/0/0/54f07ac8c35b6.jpg'),
    new NetworkImage('http://auto.ferrari.com/en_EN/wp-content/uploads/sites/5/2017/08/ferrari-portofino-reveal-2017-featured-new.jpg'),
    new NetworkImage('http://www.hilversum.ferraridealers.com/siteasset/ferraridealer/54f07ac8c35b6/961/420/selected/0/0/0/54f07ac8c35b6.jpg'),
  ],
  interval: new Duration(seconds: 1),
)

Showcase

[0.4.1]

  • option to add close button
  • bug fix

[0.4.0+1]

  • you can provide a TabController if you want to add a TabPageSelector

[0.4.0]

  • API CHANGE: must provide ImageProvider object instead of custom class

[0.3.0]

  • added option to cache the network image

[0.2.0]

  • added pinch to zoom

[0.1.3]

  • added visualization

[0.1.2]

  • added visualization

[0.1.1]

  • added the option to automatically loop through the photos with the given Duration

[0.1.0]

  • Initial release

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  image_carousel: ^0.4.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:image_carousel/image_carousel.dart';
  
Version Uploaded Documentation Archive
0.4.1 Jun 4, 2018 Go to the documentation of image_carousel 0.4.1 Download image_carousel 0.4.1 archive
0.4.0+1 Mar 7, 2018 Go to the documentation of image_carousel 0.4.0+1 Download image_carousel 0.4.0+1 archive
0.4.0 Jan 3, 2018 Go to the documentation of image_carousel 0.4.0 Download image_carousel 0.4.0 archive
0.3.0 Dec 22, 2017 Go to the documentation of image_carousel 0.3.0 Download image_carousel 0.3.0 archive
0.2.0 Oct 15, 2017 Go to the documentation of image_carousel 0.2.0 Download image_carousel 0.2.0 archive
0.1.3 Oct 13, 2017 Go to the documentation of image_carousel 0.1.3 Download image_carousel 0.1.3 archive
0.1.2 Oct 13, 2017 Go to the documentation of image_carousel 0.1.2 Download image_carousel 0.1.2 archive
0.1.1 Oct 13, 2017 Go to the documentation of image_carousel 0.1.1 Download image_carousel 0.1.1 archive
0.1.0 Oct 13, 2017 Go to the documentation of image_carousel 0.1.0 Download image_carousel 0.1.0 archive
0.0.1 Oct 13, 2017 Go to the documentation of image_carousel 0.0.1 Download image_carousel 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
89
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
44
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.0 <2.0.0