simple_slider 0.0.2

  • Example
  • Installing
  • Versions
  • 79

Simple Image Slider Widget

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:

  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

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

How it looks


  • TODO: Describe initial release.


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

void main() => runApp(new MyApp());

class MyApp extends StatefulWidget {
  MyAppState createState() {
    return MyAppState();

class MyAppState extends State<MyApp> {

  final _imageUrls = [

  Widget build(BuildContext context) {
    var title = "Image Slider Widget";
    return MaterialApp(
      title: title,
      home: Scaffold(
        appBar: AppBar(
          title: Text(title),
        body: Container(
          child: ImageSliderWidget(
            imageUrls: _imageUrls,
            imageBorderRadius: BorderRadius.circular(8.0),

Use this package as a library

1. Depend on it

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

  simple_slider: ^0.0.2

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:simple_slider/simple_slider.dart';
Version Uploaded Documentation Archive
0.0.2 Sep 21, 2018 Go to the documentation of simple_slider 0.0.2 Download simple_slider 0.0.2 archive
0.0.1 Sep 21, 2018 Go to the documentation of simple_slider 0.0.1 Download simple_slider 0.0.1 archive
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]
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/simple_slider.dart. (-1 points)

Analysis of lib/simple_slider.dart reported 2 hints:

line 1 col 8: Unused import: 'dart:async'.

line 6 col 8: Unused import: 'package:flutter/services.dart'.

Maintenance suggestions

The description is too short. (-20 points)

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-v0.1 release. (-10 points)

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


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
cached_network_image ^0.4.1 0.4.2 0.5.1
cupertino_icons ^0.1.2 0.1.2
flutter 0.0.0
shared_preferences ^0.4.2 0.4.3
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
flutter_cache_manager 0.1.2 0.2.0+1
http 0.11.3+17 0.12.0
http_parser 3.1.3
meta 1.1.6
path 1.6.2
path_provider 0.4.1
sky_engine 0.0.99
source_span 1.4.1
string_scanner 1.0.4
synchronized 1.5.3
typed_data 1.1.6
uuid 1.0.3
vector_math 2.0.8