Push new product
This commit is contained in:
parent
df94f71453
commit
7a5ecf6f36
5 changed files with 39 additions and 7 deletions
|
@ -8,7 +8,7 @@ class Constants {
|
||||||
static const DRAWER_COLOR = Color.fromARGB(148, 0, 97, 97);
|
static const DRAWER_COLOR = Color.fromARGB(148, 0, 97, 97);
|
||||||
static const PORTFOLIO_CARD_COLOR = Color.fromARGB(255, 0, 71, 97);
|
static const PORTFOLIO_CARD_COLOR = Color.fromARGB(255, 0, 71, 97);
|
||||||
|
|
||||||
static const VERSION = "Version 1.0.013025+2022";
|
static const VERSION = "Version 1.0.040125+0311";
|
||||||
static const COPYRIGHT =
|
static const COPYRIGHT =
|
||||||
"Copyright 2024-2025 - Piccari Creations. All Rights Reserved";
|
"Copyright 2024-2025 - Piccari Creations. All Rights Reserved";
|
||||||
static const CLIENTPSK =
|
static const CLIENTPSK =
|
||||||
|
|
|
@ -9,6 +9,7 @@ import 'package:zontreck/pages/Portfolio.dart';
|
||||||
import 'package:zontreck/pages/RegisterAccount.dart';
|
import 'package:zontreck/pages/RegisterAccount.dart';
|
||||||
import 'package:zontreck/pages/libac.dart';
|
import 'package:zontreck/pages/libac.dart';
|
||||||
import 'package:zontreck/pages/nbt/NBTEditor.dart';
|
import 'package:zontreck/pages/nbt/NBTEditor.dart';
|
||||||
|
import 'package:zontreck/pages/shitbot.dart';
|
||||||
|
|
||||||
class MainPage extends StatelessWidget {
|
class MainPage extends StatelessWidget {
|
||||||
const MainPage({super.key});
|
const MainPage({super.key});
|
||||||
|
@ -24,7 +25,8 @@ class MainPage extends StatelessWidget {
|
||||||
"/portfolio": (context) => const PortfolioPage(),
|
"/portfolio": (context) => const PortfolioPage(),
|
||||||
"/portfolio/coun": (context) => const CardsOfUtterNonsense(),
|
"/portfolio/coun": (context) => const CardsOfUtterNonsense(),
|
||||||
"/portfolio/libac": (context) => const LibACAbout(),
|
"/portfolio/libac": (context) => const LibACAbout(),
|
||||||
"/portfolio/nbteditor": (context) => AboutNBTEditor()
|
"/portfolio/nbteditor": (context) => AboutNBTEditor(),
|
||||||
|
"/shitbot": (context) => ShitBotProductPage()
|
||||||
},
|
},
|
||||||
theme: ThemeData.dark(),
|
theme: ThemeData.dark(),
|
||||||
);
|
);
|
||||||
|
|
|
@ -117,7 +117,7 @@ class OpenSimPageState extends State<OpenSimPage> {
|
||||||
SharedPreferences prefs = await SharedPreferences.getInstance();
|
SharedPreferences prefs = await SharedPreferences.getInstance();
|
||||||
if (prefs.containsKey("settings")) {
|
if (prefs.containsKey("settings")) {
|
||||||
String encoded = prefs.getString("settings")!;
|
String encoded = prefs.getString("settings")!;
|
||||||
CompoundTag tag = await NbtIo.readBase64String(encoded);
|
CompoundTag tag = await NbtIo.readBase64String(encoded) as CompoundTag;
|
||||||
if (tag.containsKey("user")) {
|
if (tag.containsKey("user")) {
|
||||||
settings.currentUser = User.load(tag.get("user") as CompoundTag);
|
settings.currentUser = User.load(tag.get("user") as CompoundTag);
|
||||||
settings.loggedIn = true;
|
settings.loggedIn = true;
|
||||||
|
|
30
lib/pages/shitbot.dart
Normal file
30
lib/pages/shitbot.dart
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/widgets.dart';
|
||||||
|
import 'package:zontreck/Constants.dart';
|
||||||
|
|
||||||
|
class ShitBotProductPage extends StatelessWidget {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text("ShitBot Promotional Materials"),
|
||||||
|
backgroundColor: Constants.TITLEBAR_COLOR,
|
||||||
|
),
|
||||||
|
body: Padding(
|
||||||
|
padding: EdgeInsets.all(8),
|
||||||
|
child: SingleChildScrollView(
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
Center(
|
||||||
|
child: Text(
|
||||||
|
"APRIL FOOLS",
|
||||||
|
style: TextStyle(fontSize: 64),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
|
@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.0.082924+0758
|
version: 1.0.040125+0311
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.6.1
|
sdk: ^3.6.1
|
||||||
|
@ -34,14 +34,14 @@ dependencies:
|
||||||
# The following adds the Cupertino Icons font to your application.
|
# The following adds the Cupertino Icons font to your application.
|
||||||
# Use with the CupertinoIcons class for iOS style icons.
|
# Use with the CupertinoIcons class for iOS style icons.
|
||||||
cupertino_icons: ^1.0.8
|
cupertino_icons: ^1.0.8
|
||||||
libac_dart:
|
|
||||||
hosted: https://git.zontreck.com/api/packages/AriasCreations/pub/
|
|
||||||
version: ^1.4.012225+0413
|
|
||||||
dio: ^5.8.0+1
|
dio: ^5.8.0+1
|
||||||
shared_preferences: ^2.5.1
|
shared_preferences: ^2.5.1
|
||||||
footer: ^0.0.4
|
footer: ^0.0.4
|
||||||
crypto: ^3.0.6
|
crypto: ^3.0.6
|
||||||
url_launcher: ^6.3.1
|
url_launcher: ^6.3.1
|
||||||
|
libac_dart:
|
||||||
|
hosted: https://git.zontreck.com/api/packages/Packages/pub/
|
||||||
|
version: 1.4.20325+1215
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue