【文件属性】:
文件名称:waterfall_flow:Flutter网格视图,支持瀑布流布局
文件大小:384KB
文件格式:ZIP
更新时间:2021-05-04 23:48:03
flutter waterfall-flow Dart
Waterfall_flow
Flutter网格视图易于快速建立瀑布流布局。
语言:英语|
用
将库添加到您的pubspec.yaml
dependencies :
waterfall_flow : any
在dart文件中导入库
import 'package:waterfall_flow/waterfall_flow.dart' ;
易于使用
您可以在SliverWaterfallFlowDelegate中定义瀑布流布局。
SliverWaterfallFlowDelegateWithFixedCrossAxisCount
范围
描述
默认
crossAxisCount
横轴上的子代数。
必需的
SliverWaterfallFlowDelegateWithMaxCrossAxisExtent
范围
描述
默认
maxCrossAxisExtent
横轴上