Skip to content

Commit 54ef57e

Browse files
committed
增加详情页数据
1 parent 96fad89 commit 54ef57e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎lib/page/repository_detail_page.dart‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,11 @@ class _RepositoryDetailPageState extends State<RepositoryDetailPage> {
312312
color: Color(GSYColors.white),
313313
fabLocation: FloatingActionButtonLocation.endDocked,
314314
shape: CircularNotchedRectangle(),
315-
rowContents: tarBarControl.footerButton),
315+
rowContents: (tarBarControl.footerButton == null)
316+
? [Container()]
317+
: tarBarControl.footerButton.length == 0
318+
? [SizedBox.fromSize(size: Size(100, 50),)]
319+
: tarBarControl.footerButton),
316320
);
317321
},
318322
),

0 commit comments

Comments
 (0)