A flutter package for image carousels.
Supports both Asset and Network images.
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), )
ImageProviderobject instead of custom class
Add this to your package's pubspec.yaml file:
dependencies: image_carousel: "^0.4.0+1"
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.4.0+1||Mar 7, 2018|
|0.4.0||Jan 3, 2018|
|0.3.0||Dec 22, 2017|
|0.2.0||Oct 15, 2017|
|0.1.3||Oct 13, 2017|
|0.1.2||Oct 13, 2017|
|0.1.1||Oct 13, 2017|
|0.1.0||Oct 13, 2017|
|0.0.1||Oct 13, 2017|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
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:
example.dartor you could also use
Fix analysis and formatting issues.
Analysis or formatting checks reported 1 hint.
flutter formatto format