├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist └── .gitignore ├── web ├── favicon.png ├── icons │ ├── Icon-192.png │ ├── Icon-512.png │ ├── Icon-maskable-192.png │ └── Icon-maskable-512.png ├── manifest.json └── index.html ├── assets ├── font │ └── Aquire.otf ├── flags │ ├── id.svg │ ├── at.svg │ ├── lv.svg │ ├── mc.svg │ ├── ng.svg │ ├── ua.svg │ ├── pl.svg │ ├── pw.svg │ ├── bd.svg │ ├── ch.svg │ ├── de.svg │ ├── jp.svg │ ├── ye.svg │ ├── bw.svg │ ├── ee.svg │ ├── be.svg │ ├── bs.svg │ ├── am.svg │ ├── bg.svg │ ├── bl.svg │ ├── bq.svg │ ├── ci.svg │ ├── fr.svg │ ├── gf.svg │ ├── gl.svg │ ├── gp.svg │ ├── hu.svg │ ├── ie.svg │ ├── it.svg │ ├── lt.svg │ ├── lu.svg │ ├── mf.svg │ ├── mg.svg │ ├── mq.svg │ ├── nc.svg │ ├── nl.svg │ ├── pm.svg │ ├── re.svg │ ├── ro.svg │ ├── ru.svg │ ├── sl.svg │ ├── td.svg │ ├── th.svg │ ├── yt.svg │ ├── bj.svg │ ├── cg.svg │ ├── co.svg │ ├── gb-eng.svg │ ├── gn.svg │ ├── la.svg │ ├── se.svg │ ├── dk.svg │ ├── ae.svg │ ├── cz.svg │ ├── fi.svg │ ├── ga.svg │ ├── ml.svg │ ├── ps.svg │ ├── to.svg │ ├── gr.svg │ ├── kw.svg │ ├── ma.svg │ ├── sd.svg │ ├── mu.svg │ ├── bh.svg │ ├── is.svg │ ├── gm.svg │ ├── tt.svg │ ├── bv.svg │ ├── ne.svg │ ├── no.svg │ ├── sj.svg │ ├── jm.svg │ ├── mv.svg │ ├── ax.svg │ ├── fo.svg │ ├── dz.svg │ ├── lc.svg │ ├── pr.svg │ ├── gb-sct.svg │ ├── gh.svg │ ├── cd.svg │ ├── tr.svg │ ├── cu.svg │ ├── sr.svg │ ├── tl.svg │ ├── cf.svg │ ├── mr.svg │ ├── il.svg │ ├── sc.svg │ ├── gy.svg │ ├── sy.svg │ ├── tn.svg │ ├── aw.svg │ ├── dj.svg │ ├── ss.svg │ ├── pk.svg │ ├── qa.svg │ ├── mk.svg │ ├── tz.svg │ ├── vc.svg │ ├── ly.svg │ ├── gg.svg │ ├── tw.svg │ ├── vn.svg │ ├── hn.svg │ ├── nr.svg │ ├── ba.svg │ ├── so.svg │ ├── jo.svg │ ├── az.svg │ ├── gb.svg │ ├── sh.svg │ ├── cn.svg │ ├── gb-nir.svg │ ├── pa.svg │ ├── ag.svg │ ├── bf.svg │ ├── eh.svg │ ├── kr.svg │ ├── bb.svg │ ├── my.svg │ ├── cl.svg │ ├── sn.svg │ ├── ws.svg │ ├── tg.svg │ ├── ca.svg │ ├── st.svg │ ├── km.svg │ ├── mm.svg │ ├── na.svg │ ├── gw.svg │ ├── cw.svg │ ├── et.svg │ ├── cm.svg │ ├── ge.svg │ ├── rw.svg │ ├── mh.svg │ ├── um.svg │ ├── us.svg │ ├── in.svg │ ├── lr.svg │ ├── fm.svg │ ├── tf.svg │ ├── ve.svg │ ├── kn.svg │ ├── sb.svg │ ├── kp.svg │ ├── sg.svg │ ├── eu.svg │ ├── hk.svg │ ├── uz.svg │ ├── mw.svg │ ├── ph.svg │ ├── gd.svg │ ├── nu.svg │ ├── ck.svg │ ├── cv.svg │ ├── bi.svg │ ├── ke.svg │ ├── tk.svg │ ├── tv.svg │ ├── ir.svg │ ├── au.svg │ ├── hm.svg │ ├── tj.svg │ ├── sk.svg │ ├── nz.svg │ ├── ls.svg │ ├── mn.svg │ ├── mo.svg │ ├── ao.svg │ ├── si.svg │ ├── iq.svg │ ├── vu.svg │ ├── mz.svg │ ├── ai.svg │ ├── pg.svg │ ├── ug.svg │ ├── cx.svg │ ├── ki.svg │ ├── xk.svg │ └── cc.svg ├── stop.svg ├── powOn.svg ├── active.svg ├── profile.svg ├── id.svg ├── fi-sr-add.svg ├── history.svg ├── fi-sr-shield-check.svg ├── home.svg ├── fi-sr-incognito.svg ├── logo.svg ├── fi-sr-rocket.svg ├── settings.svg ├── text.svg └── gopro.svg ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night │ │ │ │ │ └── styles.xml │ │ │ ├── kotlin │ │ │ │ └── com │ │ │ │ │ └── rahulsharmadev │ │ │ │ │ └── dreamvpn │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── .metadata ├── README.md ├── lib ├── routes │ ├── proRoute.dart │ ├── chooseLocationRoute.dart │ └── settingsRoute.dart ├── model │ ├── UserPreference.dart │ └── themeCollection.dart └── pages │ └── accountPage.dart ├── pubspec.yaml ├── .gitignore ├── test └── widget_test.dart └── analysis_options.yaml /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/web/favicon.png -------------------------------------------------------------------------------- /assets/font/Aquire.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/assets/font/Aquire.otf -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/web/icons/Icon-512.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /assets/flags/id.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/at.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/lv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mc.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ng.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ua.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/pl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/pw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /assets/flags/bd.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ch.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/de.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/jp.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ye.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ee.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /assets/flags/be.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bs.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /assets/flags/am.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bq.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ci.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/fr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gp.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/hu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ie.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/it.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/lt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/lu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mq.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/nc.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/nl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/pm.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/re.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ro.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ru.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/td.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/th.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/yt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /assets/flags/bj.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/cg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/co.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gb-eng.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/la.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/se.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulsharmadev0/Dream-VPN/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /assets/flags/dk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ae.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/cz.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/fi.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ga.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ml.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ps.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/to.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/rahulsharmadev/dreamvpn/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.rahulsharmadev.dreamvpn 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /assets/flags/gr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/flags/kw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ma.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sd.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bh.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/is.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gm.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/tt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/stop.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ne.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/no.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sj.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/jm.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ax.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/fo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/dz.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/lc.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/pr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gb-sct.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gh.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip 7 | -------------------------------------------------------------------------------- /assets/flags/cd.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/tr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/cu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/tl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/cf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /assets/flags/il.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sc.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/flags/gy.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sy.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/tn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /assets/flags/aw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/dj.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ss.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /assets/flags/pk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/qa.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 18116933e77adc82f80866c928266a5b4f1ed645 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /assets/flags/tz.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/vc.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/powOn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/flags/ly.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /assets/flags/gg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/tw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/vn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/active.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/flags/hn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/profile.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/flags/nr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ba.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/so.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/jo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /assets/flags/az.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/id.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/flags/gb.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sh.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /assets/flags/cn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gb-nir.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /assets/flags/pa.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/fi-sr-add.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /assets/flags/ag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/eh.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/kr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/bb.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/my.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/cl.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /assets/flags/sn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ws.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/tg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ca.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 |

3 | logo 4 |

5 | 6 | ##

Dream VPN

• Ui / Ux [DESIGN](https://www.figma.com/community/file/1048677183722250131/DreamVPN-App-UI-%40rahulsharmadev) • See [LICENSE](/LICENSE) 7 |

8 | 9 | ![](https://lh3.googleusercontent.com/pw/AM-JKLUP2lZtRsdNk_mFoyDnKlo44LL4sW7sDH0NzSNhIcH0Hma5u3bPfB3TOEzmrQayA-iSocPIK0bkTPx-3LH91PoBLkUbUilu-m1PjiZZx2dzkHTgat6XgPWqS9pd-WOv2G4Lfztpdiaw34-UjKOrmLc=s933-no?authuser=0) 10 | 11 | My project target is to deliver a faster , flexible and reliable VPN design implementation. 12 | -------------------------------------------------------------------------------- /assets/flags/st.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/km.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /assets/flags/na.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/history.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gw.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /assets/flags/cw.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /assets/flags/et.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/cm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /assets/flags/ge.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/rw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /assets/flags/mh.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/um.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/us.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/routes/proRoute.dart: -------------------------------------------------------------------------------- 1 | //ignore_for_file: file_names 2 | import 'package:dreamvpn/pages/proPage.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class ProRoute extends StatelessWidget { 6 | const ProRoute({Key? key}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | appBar: AppBar( 12 | automaticallyImplyLeading: false, 13 | backgroundColor: Colors.transparent, 14 | shadowColor: Colors.transparent, 15 | actions: const [ 16 | Padding( 17 | padding: EdgeInsets.all(8.0), 18 | child: CloseButton(), 19 | ) 20 | ], 21 | ), 22 | body: const ProPage(), 23 | ); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /assets/flags/in.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/lr.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /assets/flags/fm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /assets/flags/tf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: dreamvpn 2 | description: A new Flutter project. 3 | publish_to: 'none' 4 | version: 1.0.0+1 5 | 6 | environment: 7 | sdk: ">=2.12.0 <3.0.0" 8 | 9 | dependencies: 10 | flutter: 11 | sdk: flutter 12 | flutter_svg: ^0.23.0+1 13 | provider: ^6.0.1 14 | 15 | dev_dependencies: 16 | flutter_test: 17 | sdk: flutter 18 | flutter_lints: ^1.0.0 19 | 20 | flutter: 21 | uses-material-design: true 22 | 23 | assets: 24 | - assets/flags/ 25 | - assets/ 26 | 27 | fonts: 28 | - family: Aquire 29 | fonts: 30 | - asset: assets/font/Aquire.otf 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /assets/flags/ve.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/kn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/fi-sr-shield-check.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/sb.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/kp.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /assets/flags/sg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/eu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /assets/flags/hk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/uz.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/home.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/flags/mw.svg: -------------------------------------------------------------------------------- 1 | 2 | Flag of Malawi 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | -------------------------------------------------------------------------------- /assets/flags/ph.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/gd.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/nu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/model/UserPreference.dart: -------------------------------------------------------------------------------- 1 | //ignore_for_file: file_names 2 | 3 | import 'dart:async'; 4 | import 'package:flutter/cupertino.dart'; 5 | class UserPreference extends ChangeNotifier { 6 | 7 | // Initally Location index is 0 8 | int locationIndex = 0; 9 | 10 | // Change current location by call setlocationIndex method(function) 11 | void setlocationIndex(int index) { 12 | locationIndex = index; 13 | notifyListeners(); 14 | } 15 | 16 | 17 | // Setup for coundown service 18 | Duration duration = Duration.zero; 19 | bool isCountDownStart = false; 20 | final Stream _stream = Stream.periodic(const Duration(seconds: 1)); 21 | 22 | UserPreference() { 23 | _stream.listen((event) { 24 | if (isCountDownStart) { 25 | duration += const Duration(seconds: 1); 26 | notifyListeners(); 27 | } 28 | }); 29 | } 30 | 31 | void get countDownSwitch { 32 | isCountDownStart = !isCountDownStart; 33 | notifyListeners(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /assets/flags/ck.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/cv.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /assets/flags/bi.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /assets/flags/ke.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dreamvpn", 3 | "short_name": "dreamvpn", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | }, 22 | { 23 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /assets/fi-sr-incognito.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/tk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:dreamvpn/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(const MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /assets/flags/tv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ir.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/au.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/hm.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/fi-sr-rocket.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/settings.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/flags/tj.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/routes/chooseLocationRoute.dart: -------------------------------------------------------------------------------- 1 | //ignore_for_file: file_names 2 | import 'package:dreamvpn/model/UserPreference.dart'; 3 | import 'package:flutter_svg/flutter_svg.dart'; 4 | import 'package:provider/provider.dart'; 5 | import '/model/flags.dart'; 6 | import 'package:flutter/material.dart'; 7 | 8 | class ChooseLocationRoute extends StatelessWidget { 9 | const ChooseLocationRoute({Key? key}) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Scaffold( 14 | appBar: AppBar( 15 | shadowColor: Colors.transparent, 16 | title: const Text('Choose location'), 17 | ), 18 | body: ListView.builder( 19 | padding: const EdgeInsets.all(8.0), 20 | itemCount: Flags.list.length, 21 | itemBuilder: (builder, index) => ListTile( 22 | onTap: () { 23 | Provider.of(context, listen: false) 24 | .setlocationIndex(index); 25 | Navigator.of(context).pop(); 26 | }, 27 | leading: SvgPicture.asset( 28 | 'assets/flags/${Flags.list[index]['imagePath']}', 29 | width: 42, 30 | ), 31 | title: Text( 32 | Flags.list[index]['name'] as String, 33 | style: Theme.of(context).primaryTextTheme.subtitle1, 34 | ), 35 | trailing: Icon( 36 | Icons.navigate_next_rounded, 37 | color: Theme.of(context).iconTheme.color, 38 | )), 39 | ), 40 | ); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /assets/flags/sk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/nz.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | dreamvpn 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /assets/flags/ls.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/text.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/mo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ao.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 30 30 | 31 | compileOptions { 32 | sourceCompatibility JavaVersion.VERSION_1_8 33 | targetCompatibility JavaVersion.VERSION_1_8 34 | } 35 | 36 | kotlinOptions { 37 | jvmTarget = '1.8' 38 | } 39 | 40 | sourceSets { 41 | main.java.srcDirs += 'src/main/kotlin' 42 | } 43 | 44 | defaultConfig { 45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 46 | applicationId "com.rahulsharmadev.dreamvpn" 47 | minSdkVersion 16 48 | targetSdkVersion 30 49 | versionCode flutterVersionCode.toInteger() 50 | versionName flutterVersionName 51 | } 52 | 53 | buildTypes { 54 | release { 55 | // TODO: Add your own signing config for the release build. 56 | // Signing with the debug keys for now, so `flutter run --release` works. 57 | signingConfig signingConfigs.debug 58 | } 59 | } 60 | } 61 | 62 | flutter { 63 | source '../..' 64 | } 65 | 66 | dependencies { 67 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 68 | } 69 | -------------------------------------------------------------------------------- /assets/flags/si.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/iq.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 13 | 17 | 21 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /assets/flags/vu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /assets/gopro.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/model/themeCollection.dart: -------------------------------------------------------------------------------- 1 | // ignore_for_file: file_names 2 | import 'package:flutter/material.dart'; 3 | 4 | class ThemeCollection extends ChangeNotifier { 5 | /// _colorSwatch method or function take RGB color as argument and after processing 6 | /// it will return Map where int consist colors varients 7 | Map _colorSwatch( 8 | int r, 9 | int g, 10 | int b, 11 | ) => 12 | { 13 | 50: Color.fromRGBO(r, g, b, 0.1), 14 | 100: Color.fromRGBO(r, g, b, 0.2), 15 | 200: Color.fromRGBO(r, g, b, 0.3), 16 | 300: Color.fromRGBO(r, g, b, 0.4), 17 | 400: Color.fromRGBO(r, g, b, 0.5), 18 | 500: Color.fromRGBO(r, g, b, 0.6), 19 | 600: Color.fromRGBO(r, g, b, 0.7), 20 | 700: Color.fromRGBO(r, g, b, 0.8), 21 | 800: Color.fromRGBO(r, g, b, 0.9), 22 | 900: Color.fromRGBO(r, g, b, 1), 23 | }; 24 | bool isDarkActive = true; 25 | 26 | void setDarkTheme(bool value) { 27 | isDarkActive = value; 28 | notifyListeners(); 29 | } 30 | 31 | ThemeData get getActiveTheme => isDarkActive ? _darkTheme : _lightTheme; 32 | 33 | // Let's define a light theme for our Application 34 | ThemeData get _lightTheme => ThemeData( 35 | primarySwatch: MaterialColor(0xffFFFFFF, _colorSwatch(1, 117, 194)), 36 | primaryColor: const Color(0xff6622CC), 37 | accentColor: const Color(0xffAE77FF), 38 | canvasColor: const Color(0xffFFFFFF), 39 | backgroundColor: const Color(0xffFFFFFF), 40 | iconTheme: const IconThemeData(color: Colors.black87), 41 | primaryTextTheme: TextTheme( 42 | bodyText1: const TextStyle(color: Colors.black, fontSize: 15), 43 | bodyText2: const TextStyle(color: Colors.black54, fontSize: 15), 44 | subtitle1: const TextStyle(color: Colors.black), 45 | headline3: const TextStyle( 46 | color: Colors.black, fontSize: 27, fontWeight: FontWeight.bold), 47 | headline6: const TextStyle(color: Colors.black), 48 | caption: TextStyle( 49 | color: Colors.grey.shade700, wordSpacing: -1, fontSize: 12))); 50 | 51 | // Now define a dark theme for our Application 52 | ThemeData get _darkTheme => ThemeData( 53 | primarySwatch: MaterialColor(0xff0B0415, _colorSwatch(2, 86, 155)), 54 | primaryColor: const Color(0xff6622CC), 55 | accentColor: const Color(0xffAE77FF), 56 | canvasColor: const Color(0xff0B0415), 57 | backgroundColor: const Color(0xff0B0415), 58 | iconTheme: const IconThemeData(color: Colors.white), 59 | primaryTextTheme: const TextTheme( 60 | bodyText1: TextStyle(color: Colors.white, fontSize: 15), 61 | bodyText2: TextStyle(color: Colors.white70, fontSize: 15), 62 | subtitle1: TextStyle(color: Colors.white), 63 | headline3: TextStyle( 64 | color: Colors.white, fontSize: 27, fontWeight: FontWeight.bold), 65 | headline6: const TextStyle(color: Colors.white), 66 | caption: 67 | TextStyle(color: Colors.white54, wordSpacing: -1, fontSize: 12))); 68 | } 69 | -------------------------------------------------------------------------------- /assets/flags/mz.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /assets/flags/ai.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/pg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ug.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /assets/flags/cx.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/ki.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/flags/xk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | dreamvpn 30 | 31 | 32 | 33 | 36 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /lib/routes/settingsRoute.dart: -------------------------------------------------------------------------------- 1 | //ignore_for_file: file_names 2 | import '../model/themeCollection.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:provider/provider.dart'; 5 | 6 | class SettingsRoute extends StatefulWidget { 7 | const SettingsRoute({Key? key}) : super(key: key); 8 | 9 | @override 10 | State createState() => _SettingsRouteState(); 11 | } 12 | 13 | class _SettingsRouteState extends State { 14 | int connectionValue = 0; 15 | bool killSwitch = false, proVpn = false, notifySwitch = false; 16 | List connectionModes = ['OpenVPN', 'IPSec', 'ISSR']; 17 | 18 | setConnectionValue(int? value) { 19 | setState(() { 20 | connectionValue = value!; 21 | }); 22 | } 23 | 24 | Column listTileSet(String title, String description, bool value, 25 | Function(bool)? onChanged) => 26 | Column(crossAxisAlignment: CrossAxisAlignment.start, children: [ 27 | const Divider(color: Colors.grey, thickness: 1), 28 | Padding( 29 | padding: const EdgeInsets.symmetric(vertical: 8.0), 30 | child: Text(title, 31 | style: Theme.of(context) 32 | .primaryTextTheme 33 | .subtitle1! 34 | .copyWith(color: Colors.grey)), 35 | ), 36 | SwitchListTile( 37 | activeColor: Theme.of(context).accentColor, 38 | inactiveTrackColor: 39 | Provider.of(context).isDarkActive 40 | ? const Color(0xff38323F) 41 | : const Color(0xffD7D6D9), 42 | contentPadding: EdgeInsets.zero, 43 | title: Text( 44 | description, 45 | style: Theme.of(context).primaryTextTheme.subtitle1, 46 | ), 47 | value: value, 48 | onChanged: onChanged) 49 | ]); 50 | 51 | @override 52 | Widget build(BuildContext context) { 53 | var themeData = Provider.of(context); 54 | return Scaffold( 55 | appBar: AppBar( 56 | shadowColor: Colors.transparent, 57 | title: const Text('Settings'), 58 | ), 59 | body: ListView( 60 | padding: const EdgeInsets.symmetric(horizontal: 24.0, vertical: 8.0), 61 | children: [ 62 | Text('Connection Mode', 63 | style: Theme.of(context) 64 | .primaryTextTheme 65 | .subtitle1! 66 | .copyWith(color: Colors.grey)), 67 | const SizedBox(height: 4), 68 | Column( 69 | children: connectionModes.map((e) { 70 | return ListTile( 71 | contentPadding: EdgeInsets.zero, 72 | title: Text( 73 | e, 74 | style: Theme.of(context).primaryTextTheme.subtitle1, 75 | ), 76 | trailing: Radio( 77 | fillColor: MaterialStateProperty.all( 78 | connectionModes[connectionValue] != e 79 | ? themeData.isDarkActive 80 | ? Colors.white70 81 | : Colors.grey 82 | : Theme.of(context).accentColor, 83 | ), 84 | value: connectionModes.indexOf(e), 85 | groupValue: connectionValue, 86 | onChanged: setConnectionValue), 87 | ); 88 | }).toList()), 89 | listTileSet( 90 | 'Kill Switch', 91 | 'Block internet when connecting or changing servers', 92 | killSwitch, 93 | (value) => setState(() => killSwitch = value)), 94 | listTileSet('Connection', 'Connect when Pro VPN starts', proVpn, 95 | (value) => setState(() => proVpn = value)), 96 | listTileSet( 97 | 'Notification', 98 | 'Show notification when Prime VPN is not connected.', 99 | notifySwitch, 100 | (value) => setState(() => notifySwitch = value)), 101 | listTileSet('Dark theme', 'Reduce glare & improve night viewing.', 102 | themeData.isDarkActive, (value) { 103 | themeData.setDarkTheme(value); 104 | }), 105 | ], 106 | ), 107 | ); 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /lib/pages/accountPage.dart: -------------------------------------------------------------------------------- 1 | //ignore_for_file: file_names 2 | import '/routes/proRoute.dart'; 3 | import '/routes/settingsRoute.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_svg/flutter_svg.dart'; 6 | import 'package:provider/provider.dart'; 7 | 8 | import '../model/themeCollection.dart'; 9 | 10 | class AccountPage extends StatelessWidget { 11 | const AccountPage({Key? key}) : super(key: key); 12 | 13 | customListTile(BuildContext context, String title, String icon, 14 | {Widget? trailing, String? subtitle, VoidCallback? onTap}) => 15 | ListTile( 16 | onTap: onTap ?? null, 17 | minLeadingWidth: 35, 18 | dense: true, 19 | title: 20 | Text(title, style: Theme.of(context).primaryTextTheme.subtitle1), 21 | subtitle: subtitle != null 22 | ? Text( 23 | subtitle, 24 | style: Theme.of(context).primaryTextTheme.caption, 25 | ) 26 | : null, 27 | leading: SvgPicture.asset( 28 | icon, 29 | color: Theme.of(context).accentColor, 30 | width: 24, 31 | alignment: Alignment.centerRight, 32 | ), 33 | trailing: trailing ?? null); 34 | 35 | upgradeButton(context) => GestureDetector( 36 | onTap: () => Navigator.of(context) 37 | .push(MaterialPageRoute(builder: (builder) => const ProRoute())), 38 | child: Container( 39 | padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 12), 40 | decoration: BoxDecoration( 41 | borderRadius: BorderRadius.circular(65), 42 | gradient: const LinearGradient( 43 | colors: [Color(0xff6622CC), Color(0xff030026)], 44 | transform: GradientRotation(5))), 45 | child: Text( 46 | 'Upgrade', 47 | style: Theme.of(context) 48 | .primaryTextTheme 49 | .bodyText1! 50 | .copyWith(color: Colors.white), 51 | ), 52 | )); 53 | 54 | Divider get divider => const Divider( 55 | indent: 16, endIndent: 16, color: Colors.grey, thickness: 1); 56 | 57 | @override 58 | Widget build(BuildContext context) { 59 | bool isDarkTheme = Provider.of(context).isDarkActive; 60 | 61 | return SingleChildScrollView( 62 | child: Column( 63 | mainAxisAlignment: MainAxisAlignment.start, 64 | crossAxisAlignment: CrossAxisAlignment.center, 65 | children: [ 66 | SvgPicture.asset( 67 | isDarkTheme 68 | ? 'assets/darkNoResults.svg' 69 | : 'assets/lightNoResults.svg', 70 | width: MediaQuery.of(context).size.width * 0.75, 71 | fit: BoxFit.cover, 72 | ), 73 | Padding( 74 | padding: const EdgeInsets.symmetric(vertical: 8.0), 75 | child: Text( 76 | 'Looks like You’re not signed in yet.', 77 | style: Theme.of(context).primaryTextTheme.bodyText1, 78 | ), 79 | ), 80 | FlatButton( 81 | color: const Color(0xff353351), 82 | textColor: Colors.white, 83 | shape: RoundedRectangleBorder( 84 | borderRadius: BorderRadius.circular(64)), 85 | onPressed: () {}, 86 | child: const Text('SIGN IN')), 87 | customListTile(context, 'User ID', 'assets/id.svg', 88 | subtitle: '284529462', 89 | trailing: IconButton( 90 | color: Theme.of(context).accentColor, 91 | onPressed: () {}, 92 | icon: Icon(Icons.copy_all_rounded))), 93 | divider, 94 | customListTile(context, 'Base Plan', 'assets/active.svg', 95 | trailing: upgradeButton(context)), 96 | divider, 97 | customListTile( 98 | context, 99 | 'Restore', 100 | 'assets/history.svg', 101 | ), 102 | divider, 103 | customListTile(context, 'Settings', 'assets/settings.svg', 104 | onTap: () => Navigator.of(context).push(MaterialPageRoute( 105 | builder: (builder) => const SettingsRoute()))) 106 | ], 107 | ), 108 | ); 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /assets/flags/cc.svg: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------