update: view remote code

This commit is contained in:
sanfan.hx
2019-08-15 13:59:08 +08:00
parent cdb06978d1
commit 927a99e62b
5 changed files with 95 additions and 19 deletions

View File

@ -59,6 +59,15 @@ var fullScreenCodeDialog = new Handler(
);
});
var githubCodeDialog = new Handler(
handlerFunc: (BuildContext context, Map<String, List<String>> params) {
String path = params['remotePath']?.first;
return new FullScreenCodeDialog(
remoteFilePath: path,
);
});
var webViewPageHand = new Handler(
handlerFunc: (BuildContext context, Map<String, List<String>> params) {
String title = params['title']?.first;