gscarousel

Last updated:

0 purchases

gscarousel Image
gscarousel Images
Add to Cart

Description:

gscarousel

GSCarousel #
A simple widget wrapper to create image slideshow banner
Demo #

See example for details
Usage #
Add the package to your pubspec.yml file.
dependencies:
gscarousel: ^0.0.1
copied to clipboard
Next, import the library into your widget.
import 'package:gscarousel/gscarousel.dart';
copied to clipboard
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,
),
),
)
copied to clipboard
Issues and feedback #
Please file issues
to send feedback or report a bug. Thank you!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.