X Tutup
Skip to content

Commit eb04c99

Browse files
committed
update flutter 0.5.7
1 parent d53cea6 commit eb04c99

File tree

4 files changed

+43
-57
lines changed

4 files changed

+43
-57
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464

6565
### 第三方框架
6666

67+
当前 Flutter SDK 版本 v0.5.7
68+
6769
库 | 功能
6870
-------- | ---
6971
**dio**|**网络框架**

RECORD.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ https://github.com/flutter/flutter/issues/19030 没有webview,残念
3131

3232
https://github.com/flutter/flutter/issues/19030#issuecomment-406656714
3333

34-
https://github.com/flutter/flutter/issues/11895#issuecomment-406832395 tab alive
34+
https://github.com/flutter/flutter/issues/19809
35+
https://github.com/flutter/flutter/issues/11895 tab alive
3536

3637
https://github.com/flutter/flutter/issues/19030 没有webview,残念
3738

lib/page/RepositoryDetailPage.dart

Lines changed: 7 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -217,54 +217,23 @@ class _RepositoryDetailPageState extends State<RepositoryDetailPage> {
217217
_getBranchList();
218218
}
219219

220-
_showTabToast() {
221-
Fluttertoast.showToast(msg: "目前手动点击会有问题,请用滑动");
222-
}
223220

224221
@override
225222
Widget build(BuildContext context) {
226223
return new GSYTabBarWidget(
227224
type: GSYTabBarWidget.TOP_TAB,
228225
tarWidgetControl: tarBarControl,
229226
tabItems: [
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-
)),
227+
new Tab(text: GSYStrings.repos_tab_info),
228+
new Tab(text: GSYStrings.repos_tab_readme),
229+
new Tab(text: GSYStrings.repos_tab_issue),
230+
new Tab(text: GSYStrings.repos_tab_file),
262231
],
263232
tabViews: [
264-
new ReposDetailInfoPage(reposDetailInfoPageControl, userName, reposName, branchControl, key: infoListKey),
265-
new RepositoryDetailReadmePage(userName, reposName, branchControl, key: readmeKey),
233+
new ReposDetailInfoPage(reposDetailInfoPageControl, userName, reposName, branchControl),
234+
new RepositoryDetailReadmePage(userName, reposName, branchControl),
266235
new RepositoryDetailIssuePage(userName, reposName),
267-
new RepositoryDetailFileListPage(userName, reposName, branchControl, key: fileListKey),
236+
new RepositoryDetailFileListPage(userName, reposName, branchControl),
268237
],
269238
backgroundColor: GSYColors.primarySwatch,
270239
indicatorColor: Colors.white,

pubspec.lock

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ packages:
126126
name: crypto
127127
url: "https://pub.flutter-io.cn"
128128
source: hosted
129-
version: "2.0.3"
129+
version: "2.0.5"
130130
csslib:
131131
dependency: transitive
132132
description:
@@ -234,7 +234,7 @@ packages:
234234
name: html
235235
url: "https://pub.flutter-io.cn"
236236
source: hosted
237-
version: "0.13.3"
237+
version: "0.13.3+1"
238238
http:
239239
dependency: transitive
240240
description:
@@ -248,7 +248,7 @@ packages:
248248
name: http_multi_server
249249
url: "https://pub.flutter-io.cn"
250250
source: hosted
251-
version: "2.0.4"
251+
version: "2.0.5"
252252
http_parser:
253253
dependency: transitive
254254
description:
@@ -277,6 +277,13 @@ packages:
277277
url: "https://pub.flutter-io.cn"
278278
source: hosted
279279
version: "0.2.2"
280+
json_rpc_2:
281+
dependency: transitive
282+
description:
283+
name: json_rpc_2
284+
url: "https://pub.flutter-io.cn"
285+
source: hosted
286+
version: "2.0.8"
280287
json_serializable:
281288
dependency: "direct dev"
282289
description:
@@ -311,7 +318,7 @@ packages:
311318
name: matcher
312319
url: "https://pub.flutter-io.cn"
313320
source: hosted
314-
version: "0.12.2+1"
321+
version: "0.12.2"
315322
meta:
316323
dependency: transitive
317324
description:
@@ -325,7 +332,7 @@ packages:
325332
name: mime
326333
url: "https://pub.flutter-io.cn"
327334
source: hosted
328-
version: "0.9.6"
335+
version: "0.9.6+1"
329336
multi_server_socket:
330337
dependency: transitive
331338
description:
@@ -339,7 +346,7 @@ packages:
339346
name: node_preamble
340347
url: "https://pub.flutter-io.cn"
341348
source: hosted
342-
version: "1.4.1"
349+
version: "1.4.2"
343350
package_config:
344351
dependency: transitive
345352
description:
@@ -353,14 +360,14 @@ packages:
353360
name: package_resolver
354361
url: "https://pub.flutter-io.cn"
355362
source: hosted
356-
version: "1.0.2"
363+
version: "1.0.3"
357364
path:
358365
dependency: transitive
359366
description:
360367
name: path
361368
url: "https://pub.flutter-io.cn"
362369
source: hosted
363-
version: "1.5.1"
370+
version: "1.6.1"
364371
plugin:
365372
dependency: transitive
366373
description:
@@ -374,7 +381,7 @@ packages:
374381
name: pool
375382
url: "https://pub.flutter-io.cn"
376383
source: hosted
377-
version: "1.3.4"
384+
version: "1.3.5"
378385
pub_semver:
379386
dependency: transitive
380387
description:
@@ -416,7 +423,7 @@ packages:
416423
name: shelf
417424
url: "https://pub.flutter-io.cn"
418425
source: hosted
419-
version: "0.7.3"
426+
version: "0.7.3+1"
420427
shelf_packages_handler:
421428
dependency: transitive
422429
description:
@@ -430,14 +437,14 @@ packages:
430437
name: shelf_static
431438
url: "https://pub.flutter-io.cn"
432439
source: hosted
433-
version: "0.2.7"
440+
version: "0.2.7+1"
434441
shelf_web_socket:
435442
dependency: transitive
436443
description:
437444
name: shelf_web_socket
438445
url: "https://pub.flutter-io.cn"
439446
source: hosted
440-
version: "0.2.2"
447+
version: "0.2.2+2"
441448
sky_engine:
442449
dependency: transitive
443450
description: flutter
@@ -484,7 +491,7 @@ packages:
484491
name: stream_channel
485492
url: "https://pub.flutter-io.cn"
486493
source: hosted
487-
version: "1.6.6"
494+
version: "1.6.7+1"
488495
stream_transform:
489496
dependency: transitive
490497
description:
@@ -512,7 +519,7 @@ packages:
512519
name: test
513520
url: "https://pub.flutter-io.cn"
514521
source: hosted
515-
version: "0.12.37"
522+
version: "0.12.41"
516523
typed_data:
517524
dependency: transitive
518525
description:
@@ -541,27 +548,34 @@ packages:
541548
url: "https://pub.flutter-io.cn"
542549
source: hosted
543550
version: "2.0.6"
551+
vm_service_client:
552+
dependency: transitive
553+
description:
554+
name: vm_service_client
555+
url: "https://pub.flutter-io.cn"
556+
source: hosted
557+
version: "0.2.4+3"
544558
watcher:
545559
dependency: transitive
546560
description:
547561
name: watcher
548562
url: "https://pub.flutter-io.cn"
549563
source: hosted
550-
version: "0.9.7+7"
564+
version: "0.9.7+8"
551565
web_socket_channel:
552566
dependency: transitive
553567
description:
554568
name: web_socket_channel
555569
url: "https://pub.flutter-io.cn"
556570
source: hosted
557-
version: "1.0.7"
571+
version: "1.0.8"
558572
yaml:
559573
dependency: transitive
560574
description:
561575
name: yaml
562576
url: "https://pub.flutter-io.cn"
563577
source: hosted
564-
version: "2.1.13"
578+
version: "2.1.14"
565579
sdks:
566-
dart: ">=2.0.0-dev.55.0 <=2.0.0-dev.58.0.flutter-f981f09760"
580+
dart: ">=2.0.0-dev.62.0 <=2.0.0-dev.63.0.flutter-4c9689c1d2"
567581
flutter: ">=0.1.4 <2.0.0"

0 commit comments

Comments
 (0)
X Tutup