gscarousel 0.0.1
gscarousel: ^0.0.1

Flutter Android iOS web

A new Flutter package project.

GSCarousel #

A simple widget wrapper to create image slideshow banner

Demo #

Demo

See example for details

Usage #

Add the package to your pubspec.yml file.

dependencies:
  gscarousel: ^0.0.1

Next, import the library into your widget.

import 'package:gscarousel/gscarousel.dart';

Now, all you have to do is simply wrap your widget as a child of GSCarousel

new Container(
    child: new SizedBox(
    height: 140.0,
    child: new GSCarousel(
        images: [
        new NetworkImage(
                ''),
            new NetworkImage(
                ''),
            new NetworkImage(
                ''),
            new NetworkImage(
                ''),
        ],
        indicatorSize: const Size.square(8.0),
        indicatorActiveSize: const Size(18.0, 8.0),
        indicatorColor: Colors.white,
        indicatorActiveColor: Colors.redAccent,
        animationCurve: Curves.easeIn,
        contentMode: BoxFit.cover,
        // indicatorBackgroundColor: Colors.greenAccent,
    ),
    ),
)

Issues and feedback #

Please file issues to send feedback or report a bug. Thank you!

1
likes
80
pub points
74%
popularity

A new Flutter package project.

Homepage

Documentation

API reference

Uploader

cahyo.mamen@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on gscarousel