BannerView
Flutter BannerView
Install / Use
/learn @yangxiaoweihn/BannerViewREADME
banner_view
A flutter BannerView package project.
function
<table> <tr> <td><img src="https://raw.githubusercontent.com/yangxiaoweihn/BannerView/master/screenshot/device-s-image-0.jpg" /></td> <td><img src="https://raw.githubusercontent.com/yangxiaoweihn/BannerView/master/screenshot/device-s-image-1.jpg" /></td> </tr> <tr> <td><img src="https://raw.githubusercontent.com/yangxiaoweihn/BannerView/master/screenshot/device-s-gif-0.gif" /></td> </tr> </table>Getting Started
add in pubspec.yaml
banner_view: "^1.2.0"
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 cycle rolling
final bool cycleRolling;
//whether auto rolling
final bool autoRolling;
final Curve curve;
final ValueChanged onPageChanged;
final bool log;
Flutter QQ group ( 714494675 )
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
