Last updated:
0 purchases
flutter vcard
flutter_vcard #
一个垂直滑动的卡片堆叠控件
Usage #
To use this plugin, add flutter_vcard as a dependency in your pubspec.yaml file.
Example #
// import package
import 'package:flutter_vcard/flutter_vcard.dart';
import 'package:flutter/material.dart';
VCardView(
size: Size(width, height),
controller: controller,
itemCount: colors.length,
itemBuild: (context, index) {
return Card(
child: Container(color: colors[index]),
);
},
endCallback: () {
print('---->end');
},
indexChangeCallback: (index) {
print('changed--->$index');
},
nextCallback: (index) {
print('next--->$index');
},
previousCallback: (index) {
print('previous--->$index');
},
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.