@@ -3,6 +3,7 @@ import 'package:task_manager/helpers/database_helper.dart';
33import 'home_screen.dart' ;
44import 'stacked_icons.dart' ;
55import 'package:toast/toast.dart' ;
6+ import 'package:url_launcher/url_launcher.dart' ;
67
78class Settings extends StatefulWidget {
89 @override
@@ -120,20 +121,38 @@ class _SettingsState extends State<Settings> {
120121 Padding (
121122 padding: const EdgeInsets .only (left: 40.0 , right: 20.0 ),
122123 child: new Container (
123- alignment: Alignment .centerLeft,
124- height: 60.0 ,
125- child: new Text ("Terms and Condition" ,
126- style: new TextStyle (
127- fontSize: 17.0 , color: Colors .brown))),
124+ alignment: Alignment .centerLeft,
125+ height: 60.0 ,
126+ child: InkWell (
127+ child: new Text (
128+ "Terms and Condition" ,
129+ style: new TextStyle (
130+ fontSize: 17.0 ,
131+ color: Colors .brown,
132+ backgroundColor: Colors .transparent),
133+ ),
134+ onTap: () =>
135+ launch ('https://https://bornomala-tech.web.app/terms' ),
136+ ),
137+ ),
128138 ),
129139 Padding (
130140 padding: const EdgeInsets .only (left: 40.0 , right: 20.0 ),
131141 child: new Container (
132- alignment: Alignment .centerLeft,
133- height: 60.0 ,
134- child: new Text ("Privacy Policy" ,
135- style: new TextStyle (
136- fontSize: 17.0 , color: Colors .brown))),
142+ alignment: Alignment .centerLeft,
143+ height: 60.0 ,
144+ child: InkWell (
145+ child: new Text (
146+ "Privacy Policy" ,
147+ style: new TextStyle (
148+ fontSize: 17.0 ,
149+ color: Colors .brown,
150+ backgroundColor: Colors .transparent),
151+ ),
152+ onTap: () => launch (
153+ 'https://https://bornomala-tech.web.app/privacy' ),
154+ ),
155+ ),
137156 ),
138157 SizedBox (
139158 width: 1080 ,
0 commit comments