|
1 | 1 | # flex_grid
|
2 | 2 |
|
3 |
| -[](https://pub.dartlang.org/packages/flex_grid) [](https://github.com/fluttercandies/flex_grid/stargazers) [](https://github.com/fluttercandies/flex_grid/network) [](https://github.com/fluttercandies/flex_grid/blob/master/LICENSE) [](https://github.com/fluttercandies/flex_grid/issues) <a target="_blank" href="https://jq.qq.com/?_wv=1027&k=5bcc0gy"><img border="0" src="https://pub.idqqimg.com/wpa/images/group.png" alt="flutter-candies" title="flutter-candies"></a> |
| 3 | +[](https://pub.dartlang.org/packages/flex_grid) [](https://github.com/fluttercandies/flex_grid/stargazers) [](https://github.com/fluttercandies/flex_grid/network) [](https://github.com/fluttercandies/flex_grid/blob/master/LICENSE) [](https://github.com/fluttercandies/flex_grid/issues) <a href="https://qm.qq.com/q/ZyJbSVjfSU"><img src="https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2Ffluttercandies%2F.github%2Frefs%2Fheads%2Fmain%2Fdata.yml&query=%24.qq_group_number&style=for-the-badge&label=QQ%E7%BE%A4&logo=qq&color=1DACE8" /></a> |
4 | 4 |
|
5 | 5 | Language: [English](README.md)| 中文简体
|
6 | 6 |
|
7 | 7 | FlexGrid 可以帮助快速创建表格形式的视图。它支持锁定行列,增量加载,提供高性能,拥有在 TabbarView/PageView 中更好的滚动体验。
|
8 | 8 |
|
9 | 9 |
|
10 |
| -| | | | |
11 |
| -| ---- | ---- | ---- | |
12 |
| -|  |  |  | |
13 |
| -|  |  | | |
14 |
| - |
15 |
| - |
16 |
| - |
17 |
| - |
18 |
| -| 参数 | 描述 | 默认 | |
19 |
| -| ---- | ---- | ---- | |
20 |
| -| frozenedColumnsCount | 锁定列的个数 | 0 | |
21 |
| -| frozenedRowsCount | 锁定行的个数 | 0 | |
22 |
| -| cellBuilder | 用于创建表格的回调 | required | |
23 |
| -| headerBuilder | 用于创建表头的回调 | required | |
24 |
| -| columnsCount | 列的个数,必须大于0 | required | |
25 |
| -| [source](#source) | [FlexGrid] 的数据源 | required | |
26 |
| -| [rowWrapper](#rowWrapper) | 在这个回调里面用于装饰 row Widget | null | |
27 |
| -| rebuildCustomScrollView | 当数据源改变的时候是否重新 build , 它来自 [LoadingMoreCustomScrollView] | false | |
28 |
| -| controller | 垂直方向的 [ScrollController] | null | |
29 |
| -| horizontalController | 水平方向的 [SyncControllerMixin] | null | |
30 |
| -| outerHorizontalSyncController | 外部的 [SyncControllerMixin], 用在 [ExtendedTabBarView] 或者 [ExtendedPageView] 上面,让水平方法的滚动更连续 | null | |
31 |
| -| physics | 水平和垂直方法的 [ScrollPhysics] | null | |
32 |
| -| verticalHighPerformance/horizontalHighPerformance | 如果为true的话, 将强制水平和垂直元素的大小,以提高滚动的性能 | false | |
33 |
| -| headerStyle | 样式用于来描述表头 | CellStyle.header() | |
34 |
| -| cellStyle | 样式用于来描述表格 | CellStyle.cell() | |
35 |
| -| indicatorBuilder | 用于创建不同加载状态的回调, 它来自 [LoadingMoreCustomScrollView] | null | |
36 |
| -| extendedListDelegate | 用于设置一些扩展功能的设置, 它来自 [LoadingMoreCustomScrollView] | null | |
37 |
| -| [headersBuilder](#headersbuilder) | 用于创建自定义的表头 | null | |
38 |
| -| link | 等设置为 true 的时候, [FlexGrid] 不能滚动,则会去滚动 parent [ExtendedTabView] | false | |
| 10 | +| | | | |
| 11 | +| ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | |
| 12 | +|  |  |  | |
| 13 | +|  |  | | |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +| 参数 | 描述 | 默认 | |
| 19 | +| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------ | |
| 20 | +| frozenedColumnsCount | 锁定列的个数 | 0 | |
| 21 | +| frozenedRowsCount | 锁定行的个数 | 0 | |
| 22 | +| cellBuilder | 用于创建表格的回调 | required | |
| 23 | +| headerBuilder | 用于创建表头的回调 | required | |
| 24 | +| columnsCount | 列的个数,必须大于0 | required | |
| 25 | +| [source](#source) | [FlexGrid] 的数据源 | required | |
| 26 | +| [rowWrapper](#rowWrapper) | 在这个回调里面用于装饰 row Widget | null | |
| 27 | +| rebuildCustomScrollView | 当数据源改变的时候是否重新 build , 它来自 [LoadingMoreCustomScrollView] | false | |
| 28 | +| controller | 垂直方向的 [ScrollController] | null | |
| 29 | +| horizontalController | 水平方向的 [SyncControllerMixin] | null | |
| 30 | +| outerHorizontalSyncController | 外部的 [SyncControllerMixin], 用在 [ExtendedTabBarView] 或者 [ExtendedPageView] 上面,让水平方法的滚动更连续 | null | |
| 31 | +| physics | 水平和垂直方法的 [ScrollPhysics] | null | |
| 32 | +| verticalHighPerformance/horizontalHighPerformance | 如果为true的话, 将强制水平和垂直元素的大小,以提高滚动的性能 | false | |
| 33 | +| headerStyle | 样式用于来描述表头 | CellStyle.header() | |
| 34 | +| cellStyle | 样式用于来描述表格 | CellStyle.cell() | |
| 35 | +| indicatorBuilder | 用于创建不同加载状态的回调, 它来自 [LoadingMoreCustomScrollView] | null | |
| 36 | +| extendedListDelegate | 用于设置一些扩展功能的设置, 它来自 [LoadingMoreCustomScrollView] | null | |
| 37 | +| [headersBuilder](#headersbuilder) | 用于创建自定义的表头 | null | |
| 38 | +| link | 等设置为 true 的时候, [FlexGrid] 不能滚动,则会去滚动 parent [ExtendedTabView] | false | |
39 | 39 |
|
40 | 40 |
|
41 | 41 | ## source
|
|
0 commit comments