feaure:增加关于,跳转网页详情

This commit is contained in:
hackycy
2020-06-17 17:03:33 +08:00
parent 82f02f02d4
commit 2ce671da75
5 changed files with 71 additions and 0 deletions

View File

@@ -18,6 +18,12 @@ PODS:
- sqflite (0.0.1):
- Flutter
- FMDB (~> 2.7.2)
- url_launcher (0.0.1):
- Flutter
- url_launcher_macos (0.0.1):
- Flutter
- url_launcher_web (0.0.1):
- Flutter
DEPENDENCIES:
- Flutter (from `Flutter`)
@@ -28,6 +34,9 @@ DEPENDENCIES:
- shared_preferences_macos (from `.symlinks/plugins/shared_preferences_macos/ios`)
- shared_preferences_web (from `.symlinks/plugins/shared_preferences_web/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
- url_launcher_macos (from `.symlinks/plugins/url_launcher_macos/ios`)
- url_launcher_web (from `.symlinks/plugins/url_launcher_web/ios`)
SPEC REPOS:
trunk:
@@ -50,6 +59,12 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/shared_preferences_web/ios"
sqflite:
:path: ".symlinks/plugins/sqflite/ios"
url_launcher:
:path: ".symlinks/plugins/url_launcher/ios"
url_launcher_macos:
:path: ".symlinks/plugins/url_launcher_macos/ios"
url_launcher_web:
:path: ".symlinks/plugins/url_launcher_web/ios"
SPEC CHECKSUMS:
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
@@ -61,6 +76,9 @@ SPEC CHECKSUMS:
shared_preferences_macos: f3f29b71ccbb56bf40c9dd6396c9acf15e214087
shared_preferences_web: 141cce0c3ed1a1c5bf2a0e44f52d31eeb66e5ea9
sqflite: 4001a31ff81d210346b500c55b17f4d6c7589dd0
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
url_launcher_macos: fd7894421cd39320dce5f292fc99ea9270b2a313
url_launcher_web: e5527357f037c87560776e36436bf2b0288b965c
PODFILE CHECKSUM: c34e2287a9ccaa606aeceab922830efb9a6ff69a

View File

@@ -270,6 +270,7 @@
"${BUILT_PRODUCTS_DIR}/package_info/package_info.framework",
"${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework",
"${BUILT_PRODUCTS_DIR}/sqflite/sqflite.framework",
"${BUILT_PRODUCTS_DIR}/url_launcher/url_launcher.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
@@ -280,6 +281,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/package_info.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqflite.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/url_launcher.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;

View File

@@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_picgo/routers/application.dart';
import 'package:flutter_picgo/routers/routers.dart';
import 'package:package_info/package_info.dart';
import 'package:url_launcher/url_launcher.dart';
class SettingPage extends StatefulWidget {
@override
@@ -77,6 +78,13 @@ class _SettingPageState extends State<SettingPage> {
},
trailing: Icon(Icons.arrow_right),
),
ListTile(
title: Text('关于Flutter-PicGo'),
onTap: () {
launch('https://github.com/hackycy/flutter_picgo');
},
trailing: Icon(Icons.arrow_right),
),
],
),
);

View File

@@ -184,6 +184,13 @@ packages:
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "2.4.0"
platform_detect:
dependency: transitive
description:
name: platform_detect
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "1.4.0"
plugin_platform_interface:
dependency: transitive
description:
@@ -191,6 +198,13 @@ packages:
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "1.0.2"
pub_semver:
dependency: transitive
description:
name: pub_semver
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "1.4.4"
quiver:
dependency: transitive
description:
@@ -308,6 +322,34 @@ packages:
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "1.1.6"
url_launcher:
dependency: "direct main"
description:
name: url_launcher
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "5.4.10"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "0.0.1+7"
url_launcher_platform_interface:
dependency: transitive
description:
name: url_launcher_platform_interface
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "1.0.7"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
url: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
source: hosted
version: "0.1.1+6"
vector_math:
dependency: transitive
description:

View File

@@ -31,6 +31,7 @@ dependencies:
fluro: ^1.6.3
event_bus: ^1.1.1
toast: ^0.1.5
url_launcher: ^5.4.10
# The following adds the Cupertino Icons font to your application.