0 purchases
banner view
banner_view #
A flutter BannerView package project.
Demo #
Visit Demo in here.
function #
Getting Started #
add in pubspec.yaml
banner_view: "^1.1.2"
or
banner_view:
git: https://github.com/yangxiaoweihn/BannerView.git
copied to clipboard
import 'package:banner_view/banner_view.dart';
new Container(
alignment: Alignment.center,
height: 200.0,
child: new BannerView(
[...]
),
);
copied to clipboard
support properties:
final List<Widget> banners;
//init index
final int initIndex;
//switch interval
final Duration intervalDuration;
//animation duration
final Duration animationDuration;
final IndicatorContainerBuilder indicatorBuilder;
final Widget indicatorNormal;
final Widget indicatorSelected;
//the margin of between indicator items
final double indicatorMargin;
final PageController controller;
//whether cycyle rolling
final bool cycleRolling;
//whether auto rolling
final bool autoRolling;
final Curve curve;
final ValueChanged onPageChanged;
copied to clipboard
Flutter QQ group ( 714494675 ) #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.