image_carousel 0.4.1

  • Readme
  • Changelog
  • Installing
  • 19

flutter_image_carousel #

A flutter package for image carousels.

Supports both Asset and Network images.

Example #

new ImageCarousel(
    new NetworkImage(''),
    new NetworkImage(''),
    new NetworkImage(''),
  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:

  image_carousel: ^0.4.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub 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';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
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.

Analysis 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


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