File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,25 @@ class _HomePageState extends State<HomePage> {
101
101
onTap: () async {
102
102
final Uri url =
103
103
Uri .parse ('https://github.com/VikramadityaDev/text_to_image_gen/' );
104
-
104
+ if (! await launchUrl (url,
105
+ mode: LaunchMode .externalApplication)) {
106
+ throw Exception ('Could not launch $url ' );
107
+ }
108
+ },
109
+ ),
110
+ ListTile (
111
+ leading: Icon (
112
+ Icons .update,
113
+ color: Colors .deepPurple.shade800,
114
+ ),
115
+ title: Text (
116
+ "Check for update" ,
117
+ style: TextStyle (
118
+ fontSize: 16 , color: Colors .deepPurple.shade400),
119
+ ),
120
+ onTap: () async {
121
+ final Uri url =
122
+ Uri .parse ('https://telegram.me/vikimediaofficial/' );
105
123
if (! await launchUrl (url,
106
124
mode: LaunchMode .externalApplication)) {
107
125
throw Exception ('Could not launch $url ' );
@@ -256,7 +274,7 @@ class _HomePageState extends State<HomePage> {
256
274
bottomNavigationBar: const Padding (
257
275
padding: EdgeInsets .only (bottom: 8 ),
258
276
child: Text (
259
- "Made With Love ❤️ Vikramaditya " ,
277
+ "Made With Love ❤️ VikiMedia " ,
260
278
textAlign: TextAlign .center,
261
279
style: TextStyle (fontSize: 12 ),
262
280
),
You can’t perform that action at this time.
0 commit comments