-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add liscences and bump version to 1.1.2
- Loading branch information
Showing
5 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | ||
import 'package:gategoDeploy/pages/confirmPage.dart'; | ||
import 'package:gategoDeploy/widget/bottomNavBar.dart'; | ||
import 'package:get/get.dart'; | ||
import 'package:package_info/package_info.dart'; | ||
import '../widget/SSIDInput.dart'; | ||
|
||
class DeployPage extends StatefulWidget { | ||
|
@@ -44,8 +46,29 @@ class _DeployPageState extends State<DeployPage> { | |
Icons.sync, | ||
color: Color(0xff00a1d3), | ||
), | ||
onPressed: () {}, | ||
) | ||
onPressed: () { | ||
Get.offUntil(MaterialPageRoute(builder: (_) { | ||
return DeployPage(); | ||
}), (route) => false); | ||
}, | ||
), | ||
IconButton( | ||
icon: Icon(Icons.info_outline, color: Color(0xff00a1d3),), | ||
onPressed: () async { | ||
PackageInfo packageInfo = await PackageInfo.fromPlatform(); | ||
|
||
String appName = packageInfo.appName; | ||
String version = packageInfo.version; | ||
String buildNumber = packageInfo.buildNumber; | ||
return showAboutDialog( | ||
context: context, | ||
applicationIcon: Image.asset("assets/bicon.png", width: 50, height: 50,), | ||
applicationName: appName + " by Wego Technologies", | ||
applicationVersion: version + " - B" + buildNumber, | ||
applicationLegalese: | ||
"All rights reserved. Copyright 2020 Wego Technologies LLC. Doubts? Contact [email protected]"); | ||
}, | ||
), | ||
], | ||
), | ||
body: SingleChildScrollView( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters