11import 'package:flutter/material.dart' ;
22import 'package:url_launcher/url_launcher.dart' ;
33
4- class AboutPage extends StatefulWidget {
4+ class AboutPage extends StatelessWidget {
55 const AboutPage ({Key ? key}) : super (key: key);
66
7- @override
8- State <AboutPage > createState () => _AboutPageState ();
9- }
10-
11- class _AboutPageState extends State <AboutPage > {
127 @override
138 Widget build (BuildContext context) {
149 return Scaffold (
@@ -21,7 +16,7 @@ class _AboutPageState extends State<AboutPage> {
2116 text: TextSpan (
2217 text: 'About ' ,
2318 style: TextStyle (
24- color: Colors .amber.shade900 ,
19+ color: Theme . of (context).colorScheme.primary ,
2520 fontWeight: FontWeight .bold,
2621 fontSize: 18 ,
2722 fontFamily: 'Aesthetic' ,
@@ -146,26 +141,32 @@ class _AboutPageState extends State<AboutPage> {
146141 crossAxisAlignment: CrossAxisAlignment .center,
147142 children: [
148143 ElevatedButton (
149- onPressed: () async {
150- final Uri url = Uri .parse (
151- 'https://github.com/VikramadityaDev/' );
152- if (! await launchUrl (url,
153- mode: LaunchMode .externalApplication)) {
154- throw Exception ('Could not launch $url ' );
155- }
156- },
157- child: const Text ('Github' , style: TextStyle (fontSize: 15 , fontFamily: 'Nexa' ),),
144+ onPressed: () async {
145+ final Uri url =
146+ Uri .parse ('https://github.com/VikramadityaDev/' );
147+ if (! await launchUrl (url,
148+ mode: LaunchMode .externalApplication)) {
149+ throw Exception ('Could not launch $url ' );
150+ }
151+ },
152+ child: const Text (
153+ 'Github' ,
154+ style: TextStyle (fontSize: 15 , fontFamily: 'Nexa' ),
155+ ),
158156 ),
159157 ElevatedButton (
160158 onPressed: () async {
161- final Uri url = Uri . parse (
162- 'https://telegram.me/Aditya@1190/' );
159+ final Uri url =
160+ Uri . parse ( 'https://telegram.me/Aditya@1190/' );
163161 if (! await launchUrl (url,
164162 mode: LaunchMode .externalApplication)) {
165163 throw Exception ('Could not launch $url ' );
166164 }
167165 },
168- child: const Text ('Telegram' , style: TextStyle (fontSize: 15 , fontFamily: 'Nexa' ),),
166+ child: const Text (
167+ 'Telegram' ,
168+ style: TextStyle (fontSize: 15 , fontFamily: 'Nexa' ),
169+ ),
169170 ),
170171 ],
171172 ),
@@ -178,7 +179,7 @@ class _AboutPageState extends State<AboutPage> {
178179 bottomNavigationBar: Padding (
179180 padding: const EdgeInsets .only (bottom: 7 ),
180181 child: Text (
181- "Made With Love ❤️ VikiMedia " ,
182+ "Made By VikiMedia &️ DJ-Yacine " ,
182183 textAlign: TextAlign .center,
183184 style: TextStyle (
184185 fontSize: 11 ,
0 commit comments