image_carousel 0.4.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 94

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 Flutter:


$ flutter packages get

Alternatively, your editor might support 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

Analysis

We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3
  • Flutter: 0.5.2

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
88 / 100
Health:
Code health derived from static analysis. [more]
99 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
94
Learn more about scoring.

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Suggestions

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use image_carousel.dart.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 hint.

    Run flutter format to format lib/src/image_carousel.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.0 <2.0.0
flutter 0.0.0
zoomable_image >=1.1.0 <1.2.0 1.1.2 1.2.0
Transitive dependencies
collection 1.14.6 1.14.10
meta 1.1.5
sky_engine 0.0.99
typed_data 1.1.5
vector_math 2.0.6 2.0.7
Dev dependencies
test ^0.12.0