1
1
import 'package:flutter/material.dart' ;
2
2
import 'package:url_launcher/url_launcher.dart' ;
3
3
4
- class AboutPage extends StatefulWidget {
4
+ class AboutPage extends StatelessWidget {
5
5
const AboutPage ({Key ? key}) : super (key: key);
6
6
7
- @override
8
- State <AboutPage > createState () => _AboutPageState ();
9
- }
10
-
11
- class _AboutPageState extends State <AboutPage > {
12
7
@override
13
8
Widget build (BuildContext context) {
14
9
return Scaffold (
@@ -21,7 +16,7 @@ class _AboutPageState extends State<AboutPage> {
21
16
text: TextSpan (
22
17
text: 'About ' ,
23
18
style: TextStyle (
24
- color: Colors .amber.shade900 ,
19
+ color: Theme . of (context).colorScheme.primary ,
25
20
fontWeight: FontWeight .bold,
26
21
fontSize: 18 ,
27
22
fontFamily: 'Aesthetic' ,
@@ -146,26 +141,32 @@ class _AboutPageState extends State<AboutPage> {
146
141
crossAxisAlignment: CrossAxisAlignment .center,
147
142
children: [
148
143
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
+ ),
158
156
),
159
157
ElevatedButton (
160
158
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/' );
163
161
if (! await launchUrl (url,
164
162
mode: LaunchMode .externalApplication)) {
165
163
throw Exception ('Could not launch $url ' );
166
164
}
167
165
},
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
+ ),
169
170
),
170
171
],
171
172
),
@@ -178,7 +179,7 @@ class _AboutPageState extends State<AboutPage> {
178
179
bottomNavigationBar: Padding (
179
180
padding: const EdgeInsets .only (bottom: 7 ),
180
181
child: Text (
181
- "Made With Love ❤️ VikiMedia " ,
182
+ "Made By VikiMedia &️ DJ-Yacine " ,
182
183
textAlign: TextAlign .center,
183
184
style: TextStyle (
184
185
fontSize: 11 ,
0 commit comments