X Tutup
Skip to content

Commit d53cea6

Browse files
committed
changetab
1 parent 90aeac1 commit d53cea6

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

lib/page/RepositoryDetailPage.dart

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,38 @@ class _RepositoryDetailPageState extends State<RepositoryDetailPage> {
227227
type: GSYTabBarWidget.TOP_TAB,
228228
tarWidgetControl: tarBarControl,
229229
tabItems: [
230-
new FlatButton(onPressed: (){_showTabToast();}, child: new Tab(text: GSYStrings.repos_tab_info)),
231-
new FlatButton(onPressed: (){_showTabToast();}, child: new Tab(text: GSYStrings.repos_tab_readme)),
232-
new FlatButton(onPressed: (){_showTabToast();}, child: new Tab(text: GSYStrings.repos_tab_issue)),
233-
new FlatButton(onPressed: (){_showTabToast();}, child: new Tab(text: GSYStrings.repos_tab_file)),
230+
new FlatButton(
231+
onPressed: () {
232+
_showTabToast();
233+
},
234+
child: new Text(
235+
GSYStrings.repos_tab_info,
236+
style: GSYConstant.middleTextWhite,
237+
)),
238+
new FlatButton(
239+
onPressed: () {
240+
_showTabToast();
241+
},
242+
child: new Text(
243+
GSYStrings.repos_tab_readme,
244+
style: GSYConstant.middleTextWhite,
245+
)),
246+
new FlatButton(
247+
onPressed: () {
248+
_showTabToast();
249+
},
250+
child: new Text(
251+
GSYStrings.repos_tab_issue,
252+
style: GSYConstant.middleTextWhite,
253+
)),
254+
new FlatButton(
255+
onPressed: () {
256+
_showTabToast();
257+
},
258+
child: new Text(
259+
GSYStrings.repos_tab_file,
260+
style: GSYConstant.middleTextWhite,
261+
)),
234262
],
235263
tabViews: [
236264
new ReposDetailInfoPage(reposDetailInfoPageControl, userName, reposName, branchControl, key: infoListKey),

0 commit comments

Comments
 (0)
X Tutup