nxs_swiper

Last updated:

0 purchases

nxs_swiper Image
nxs_swiper Images
Add to Cart

Description:

nxs swiper

NXS SWIPER
Swiper
Table of Contents #

Installing - How to install
Demo - How this plugin works
Code example - How to use

Installing #
Add to pubspec.yaml file
dependencies:
nxs_swiper: ^0.0.5
copied to clipboard
Import
import 'package:nxs_swiper/nxs_swiper.dart';
copied to clipboard
Demo #
Code example #

Code example (click to expand)
class MySwiperScreenState extends State<MySwiperScreen> {
List<Container> pages = [];

@override
void initState() {
super.initState();

pages.add(
Container(
child: Text("Page 1"),
),
);
pages.add(
Container(
child: Text("Page 1"),
),
);
pages.add(
Container(
child: Text("Page 1"),
),
);
}

@override
Widget build(BuildContext context) {
return CustomSlider(
pages: this.pages,
paginationDotBorderColor: Colors.white,
paginationDotBackgroundColor = Colors.transparent,
paginationDotCurrentBackgroundColor = Colors.white
);
}
}
copied to clipboard

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.