banner_view 1.1.2 copy "banner_view: ^1.1.2" to clipboard
banner_view: ^1.1.2 copied to clipboard

A BannerView flutter package project.

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
    import 'package:banner_view/banner_view.dart';
    new Container(
        alignment: Alignment.center,
        height: 200.0,
        child: new BannerView(
            [...]
        ),
    );

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;

Flutter QQ group ( 714494675 ) #

2
likes
10
pub points
59%
popularity

Publisher

unverified uploader

A BannerView flutter package project.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on banner_view