Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.09 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.09 KB

Simple Image Slider Widget

(https://pub.dartlang.org/packages/simple_slider)

A flutter library to show images in a sliding widget, the library also provides out of the box the ability to automatically cache the images used in the slider.

How to add

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

dependencies:
  simple_slider: "^0.0.1"

Add it to your dart file:

import 'package:simple_slider/simple_slider.dart';

How to use

The Simple slider widget is created with a simple ImageSliderWidget object that takes an array of images to slide

ImageSliderWidget(
            imageUrls: _imageUrls,
            imageBorderRadius: BorderRadius.circular(8.0),
          ),

How it looks