60 lines
2.6 KiB
Dart
60 lines
2.6 KiB
Dart
|
|
import 'package:flutter/material.dart';
|
|
import 'package:url_launcher/url_launcher.dart';
|
|
import 'package:zontreck/Constants.dart';
|
|
|
|
class LibACAbout extends StatefulWidget {
|
|
const LibACAbout({super.key});
|
|
|
|
@override
|
|
State<StatefulWidget> createState() {
|
|
return LibACAboutPage();
|
|
}
|
|
}
|
|
|
|
class LibACAboutPage extends State<LibACAbout> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
backgroundColor: Constants.TITLEBAR_COLOR,
|
|
title: const Text("Portfolio - LibAC"),
|
|
),
|
|
body: Padding(
|
|
padding: const EdgeInsets.all(8),
|
|
child: SingleChildScrollView(
|
|
child: Column(
|
|
children: [
|
|
const ListTile(
|
|
title: Text("LibAC"),
|
|
subtitle: Text(
|
|
"Aria's Creations Common Code Library (LibAC) is a library of dart code. This library exists for many different languages, each serving a unique purpose. In java, the library provides many helpers that do not exist in java, and in Dart, it provides some utilities that do exist in java but not in dart, as well as migrating some of my utilities over to dart from the java library."),
|
|
),
|
|
ListTile(
|
|
title: const Text("DartDoc"),
|
|
subtitle: const Text(
|
|
"You can click here to visit the Dart docs for the library to view usage and APIs\nIf clicking here does not work: https://api.zontreck.com/dartdocs/libac/"),
|
|
onTap: () async {
|
|
if (!await launchUrl(Uri(
|
|
host: "api.zontreck.com",
|
|
scheme: "https",
|
|
port: 443,
|
|
path: "dartdocs/libac/"))) {
|
|
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
|
|
content: Text("Could not open the requested webpage")));
|
|
}
|
|
},
|
|
),
|
|
const ListTile(
|
|
title: Text(
|
|
"As a part of the bundled LibAC library, several binaries do exist."),
|
|
subtitle: Text(
|
|
"1. Double Breasted Interrupted Key Cipher (DBIKC), this is a fictional cipher seen in a episode or two of Supergirl, and was created by Lex Luthor. Wanna feel like a villain and encode your top secret messages in a Luthor cipher? Now you can.\n\n2. Make File System Report (mkfsreport), This tool will scan a path, and tally up the total used size and help you find what file(s) are using all your space."),
|
|
)
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|