Commit b47d1188b07055d5f8ef4b1467b9d5fd3a1e8f0d

Authored by “gaiyaguang”
1 parent 3860cf78

合并

... ... @@ -46,7 +46,7 @@ class NotebookItemState extends State<NoteBookItem> {
return Container(
width: double.infinity,
height: ScreenUtil().setWidth(120),
// height: ScreenUtil().setWidth(120),
color: (widget.index % 2 == 0)
? MyColours.color_f7fdfd
: MyColours.color_ffffff,
... ... @@ -62,11 +62,11 @@ class NotebookItemState extends State<NoteBookItem> {
Container(
width: ScreenUtil().setWidth(171),
padding: EdgeInsets.symmetric(
horizontal: ScreenUtil().setWidth(24)),
horizontal: ScreenUtil().setWidth(24),vertical: ScreenUtil().setWidth(20)),
alignment: Alignment.center,
child: Text(
notebook.tableinfoStr?.trim(),
maxLines: 3,
maxLines: 30,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: textColor,
... ...
... ... @@ -431,12 +431,12 @@ class NoteBookPageState extends State<NoteBookPage> {
return EasyRefresh.custom(
controller: _controller,
slivers: [
SliverFixedExtentList(
SliverList(
delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) {
return NoteBookItem(model.notebooks[index], index);
}, childCount: model.notebooks.length),
itemExtent: ScreenUtil().setWidth(112),
// itemExtent: ScreenUtil().setWidth(112),
)
],
onRefresh: () async {
... ...