A flutter package for image carousels.

Overview

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

Comments
  • Dart 2 & 2.1 Support

    Dart 2 & 2.1 Support

    May you upgrade this Plugin to Support Dart2.0.0 and 2.1.0 ?

    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 Dart 2 migration

    opened by Saifallak 8
  • Added some improvements

    Added some improvements

    Hi!

    I've restructured your library according to https://www.dartlang.org/guides/libraries/create-library-packages and added a new type of image source. I've you this library for some time and i've bee very pleased with it. .

    opened by long1eu 3
  • PathProviderPlugin.h iOS file not found

    PathProviderPlugin.h iOS file not found

    Hi, after I add this package to my project I'm not able to run on iOS. The error is: .../ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'path_provider/PathProviderPlugin.h' file not found

    I'm running the app from Android Studio on Mac and using iOS Simulator.

    Any chance to help? Thanks

    opened by rcpassos 1
  • interval is not working after adding images

    interval is not working after adding images

    I added the image_carousel like mentioned in the stackoverflow post here with a List.

    If I reconstruct the Widget with a new List the carousel is not going through all Images. Only the images were in the List before. How can force the carousel to show also the added images?

    `import 'package:flutter/material.dart';

    import 'package:image_carousel/image_carousel.dart';

    class ShowPictures extends StatelessWidget { final List networkimages;

    //Constructor to create this class ShowPictures(this.networkimages) { print('Image Carousel Widget Constructor'); }

    @override Widget build(BuildContext context) { // TODO: implement build print('Image Carousel Widget build'); return new ImageCarousel( networkimages, interval: new Duration(seconds: 8), ); } } `

    opened by ghost 1
  • In a listview is not animating

    In a listview is not animating

    Hi,

    I got this behaviour that when I use the carousel in a list view is not animating, if I swap left-right I can see the different images...

    Do I have to do anything particular in a list view ?

    Thanks

    opened by superciccio 2
  • Carousel crashes with scrolling in list

    Carousel crashes with scrolling in list

    VERBOSE-2:dart_error.cc(16)] Unhandled exception: A TabController was used after being disposed. Once you have called dispose() on a TabController, it can no longer be used. #0 ChangeNotifier._debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:61:9) #1 ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:67:6) #2 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:134:12) #3 TabController._changeIndex (package:flutter/src/material/tab_controller.dart:120:7) #4 TabController.animateTo (package:flutter/src/material/tab_controller.dart:163:5) #5 _ImageCarouselState.initState.<anonymous closure> (package:image_carousel/src/image_carousel.dart:39:24) #6 _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382) #7 _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416) #8 _RawReceivePortImpl._handleMessage (dart:i<…>

    I'm using the fluttergallery cards example and replacing that image with an image carousel and receiving this crash.

    opened by baksha97 1
Releases(0.2.0)
A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc.

extended_image Language: English| 中文简体 A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network

FlutterCandies 1.6k Dec 31, 2022
A simple Flutter Package to Mimic iMessage Image Picker for Flutter

A simple Flutter Package to Mimic iMessage Image Picker for Flutter

Paras Jain 64 Dec 26, 2022
A flutter package to convert any widget to an Image.

Davinci A package to convert any widget to an image which can be saved locally or can be shared to other apps and chats. ?? Preview ℹ️ Usage Prerequis

Sai Gokula Krishnan 37 Dec 20, 2022
Multi image pixker using the image_picker package in flutter

multi_image_selection A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you st

Ambaliya Avnit Karshanbhai 1 Oct 13, 2021
Flutter Package to Pick Image From Gallery or Camera

image_picker_gallery_camera Flutter Package to Pick Image From Gallery or Camera Getting Started A Flutter plugin for iOS and Android for picking imag

Sayandh KP 8 Oct 5, 2022
Flutter package for image editing

You can edit image using this package and also you can create flex preview image by setting foreground to null. For now, you can use only asset files.

Berkay CEYLAN 9 Nov 21, 2022
A Flutter widget that paints an image and moves it at a slower speed than the main scrolling content.

A Flutter widget that paints an image and moves it at a slower speed than the main scrolling content. Installation Add dependency to your pubspec.yaml

Anatoly Pulyaevskiy 272 Dec 23, 2022
📸 Easy to use yet very customizable zoomable image widget for Flutter, Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interacive images and other stuff such as SVG.

Flutter Photo View A simple zoomable image/content widget for Flutter. PhotoView enables images to become able to zoom and pan with user gestures such

Fire Slime Games 1.7k Jan 3, 2023
Flutter plugin that allows you to display multi image picker on iOS and Android. 👌🔝🎉

IMPORTANT: This repository has been archived and no longer mantained. As I don't have time anymore to work on the package it became very outdated. For

Radoslav Vitanov 898 Apr 29, 2021
Image caching system for flutter

image_cacheing image_cacheing is an image caching package. It is currently tested for Android applications. ImageCacheing widget takes url as a param.

evolving_kid 3 May 31, 2021
A simple and easy flutter demo to crop image

flutter_image_crop A simple demo to crop image on flutter easily. A Chinese version of this document can be found here Flutter_image_crop Plugin will

路小飞 3 Jul 8, 2021
A flutter tool to generate beautiful code snippets in the form of an image.

A flutter tool to generate beautiful code snippets in the form of an image.

Mahesh Jamdade 4 Jan 18, 2022
Simple and effective cross platform image saver for flutter, supported web and desktop

Simple and effective cross platform image saver for flutter, supported web and desktop

7c00 3 Oct 5, 2022
Flutter Image Upload From Gallery

Image Upload From Gallery Image upload from gallery to Backend Dependencies image_picker: ^0.8.4+1 http: ^0.13.3 dio: ^4.0.0 Getting Started Image upl

Fatih Baycu 2 Oct 6, 2021
flutter image demo 主要展示图片与动画处理的案例。比如:网络图片加载、图片预览、图片缩放、json动画处理等等。

flutter_image_demo flutter image demo 主要展示图片与动画处理的案例。 比如:网络图片加载、图片预览、图片缩放、json动画处理等等。 本项目使用到以下插件: cached_network_image、 photo_view 、 lottie 、 flutter_

null 2 Feb 27, 2022
Flutter gallery - Image, Audio, Video & File.

Flutter Gallery Getting Started For help getting started with Flutter, view our online documentation.

Vivek Sharma 55 Sep 26, 2022
A Flutter image editor with support for paint, text, filters, emojis, stickers and more

Flutter Image Editor Plugin with simple, easy support for image editing using Paints, Text, Filters, Emoji and Sticker like stories.

null 44 Dec 22, 2022
Flutter BlurHash - Compact representation of a placeholder for an image.

Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium. Maintainer: @Solido

Flutter Community 408 Dec 30, 2022
Crop any widget/image in Android, iOS, Web and Desktop with fancy and customizable UI, in pure Dart code.

crop A Flutter package for cropping any widget, not only images. This package is entirely written in Dart and supports Android, iOS, Web and Desktop.

Mahdi 225 Jan 6, 2023