From 74326b6f79386388e7547077f61a1e8bf165c0ab Mon Sep 17 00:00:00 2001 From: hackerhgl Date: Sun, 8 Nov 2020 14:15:00 +0500 Subject: [PATCH] Correct Links --- android/app/build.gradle | 4 ++-- lib/screens/AboutDeveloper/data.dart | 7 ++++--- lib/static/Links.dart | 26 ++++++++++++++++++++++++++ pubspec.yaml | 2 +- 4 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 lib/static/Links.dart diff --git a/android/app/build.gradle b/android/app/build.gradle index 9890e06..6c85f27 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -13,12 +13,12 @@ if (flutterRoot == null) { def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { - flutterVersionCode = '4' + flutterVersionCode = '5' } def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { - flutterVersionName = '3.0.1' + flutterVersionName = '3.0.2' } apply plugin: 'com.android.application' diff --git a/lib/screens/AboutDeveloper/data.dart b/lib/screens/AboutDeveloper/data.dart index 2bf9b98..11af31f 100644 --- a/lib/screens/AboutDeveloper/data.dart +++ b/lib/screens/AboutDeveloper/data.dart @@ -1,5 +1,7 @@ import 'package:flutter_icons/flutter_icons.dart'; +import 'package:invmovieconcept1/static/Links.dart'; + import 'messages/keys.dart'; final devDescription = [ @@ -63,14 +65,13 @@ final showSupport = [ { "label": AboutDeveloperScreenMessages.likeProject1, "icon": MaterialCommunityIcons.github_face, - "link": "https://github.com/hackerhgl/flutter-ui-designs", + "link": MyLinks.invmovieconcept1Github, }, { "platform": "Play Store", "label": AboutDeveloperScreenMessages.likeProject2, "icon": MaterialCommunityIcons.google_play, - "link": - "https://play.google.com/store/apps/details?id=com.onemdev.flutter_ui_challenges", + "link": MyLinks.invmovieconcept1GooglePlay, }, { "platform": "Linkedin", diff --git a/lib/static/Links.dart b/lib/static/Links.dart new file mode 100644 index 0000000..ceda5ef --- /dev/null +++ b/lib/static/Links.dart @@ -0,0 +1,26 @@ +abstract class MyLinks { + static final facebook = 'https://facebook.com/hackerhgl'; + static final twitter = 'https://twitter.com/hackerhgl'; + static final github = 'https://github.com/hackerhgl'; + + // + static final fudGithub = 'https://github.com/hackerhgl/flutter-ui-designs'; + static final fudGooglePlay = + 'https://play.google.com/store/apps/details?id=com.onemdev.flutter_ui_challenges'; + + // + static final rnLoopGithub = + 'https://github.com/hackerhgl/react-native-loop-game'; + static final rnLoopGooglePlay = + 'https://play.google.com/store/apps/details?id=com.onemdev.rnloop'; + + // + static final invmovieconcept1Github = + 'https://github.com/hackerhgl/invmovieconcept1'; + static final invmovieconcept1GooglePlay = + 'https://play.google.com/store/apps/details?id=com.onemdev.invmovieconcept1'; + + // + static final hackerhglCVGithub = 'https://github.com/hackerhgl/CV'; + static final hackerhglCVWeb = 'https://hackerhgl-cv.web.app/'; +} diff --git a/pubspec.yaml b/pubspec.yaml index 8038e7e..eb46e66 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 3.0.1 +version: 3.0.2 environment: sdk: '>=2.7.0 <3.0.0'