image_carousel 0.4.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 86

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.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

1. Depend on it

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


dependencies:
  image_carousel: "^0.4.0"

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1
  • Flutter: 0.0.22

Scores

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

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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
cached_network_image 0.1.0 0.1.0 0.2.1
flutter 0.0.0
zoomable_image 1.1.2 1.1.2
Transitive dependencies
async 2.0.3
charcode 1.1.1
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
http 0.11.3+16
http_parser 3.1.1
meta 1.1.1 1.1.2
path 1.5.1
path_provider 0.3.1
shared_preferences 0.3.1
sky_engine 0.0.99
source_span 1.4.0
string_scanner 1.0.2
synchronized 1.2.0
typed_data 1.1.4 1.1.5
uuid 0.5.3
vector_math 2.0.5
Dev dependencies
test ^0.12.0