added gh repo link in about

This commit is contained in:
2024-11-14 09:54:16 +05:30
parent e52db038f4
commit 975a6dab88
5 changed files with 29 additions and 11 deletions

View File

@@ -1,4 +1,6 @@
import 'package:flutter/material.dart';
import "package:iiitb_menu/constants.dart";
import "package:url_launcher/url_launcher.dart";
class AboutPage extends StatelessWidget {
const AboutPage({Key? key}) : super(key: key);
@@ -7,13 +9,15 @@ class AboutPage extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text("About")),
body: const Column(
body: Column(
children: [
Padding(
padding: EdgeInsets.only(left: 100, right: 100, top: 50),
child: Image(image: AssetImage("assets/plate.png")),
const Flexible(
child: Padding(
padding: EdgeInsets.only(left: 100, right: 100, top: 50),
child: Image(image: AssetImage("assets/plate.png")),
),
),
Center(
const Center(
child: Text(
"IIIT Bangalore's Unofficial Menu App",
textAlign: TextAlign.center,
@@ -22,13 +26,21 @@ class AboutPage extends StatelessWidget {
),
),
),
Center(
const Center(
child: Text("Proud Ass Web 1.0 App built with Flutter"),
),
Center(
const Center(
child: Text(
"Menu updates every other Tuesday or when FoodComm does it."),
)
),
InkWell(
child:
const Image(image: AssetImage("assets/gh.png"), height: 20),
onTap: () async {
if (await canLaunchUrl(ghURI)) {
launchUrl(ghURI);
}
}),
],
),
);