Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/data/data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ String username = "flutterroles";
String resumeLink =
"https://drive.google.com/file/d/1uZPqMWva6pZxzQxsR_ILLZ_FxJr24QeY/view?usp=sharing";

String websiteLink = "https://www.adityathakur.in";
String portfolioLink = "https://www.adityathakur.in";

//Contact Email
String contactEmail = "[email protected]";

Expand Down
42 changes: 33 additions & 9 deletions lib/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,16 @@ class HomeScreen extends StatelessWidget {
const SizedBox(
width: 5,
),
const Icon(
Icons.launch,
size: 16,
InkWell(
onTap: () async {
//Code to launch website
final Uri url = Uri.parse(websiteLink);
await launchUrl(url);
},
child: const Icon(
Icons.launch,
size: 16,
),
)
],
),
Expand All @@ -219,9 +226,16 @@ class HomeScreen extends StatelessWidget {
const SizedBox(
width: 5,
),
const Icon(
Icons.launch,
size: 16,
InkWell(
onTap: () async {
//Code to launch portfolio
final Uri url = Uri.parse(portfolioLink);
await launchUrl(url);
},
child: const Icon(
Icons.launch,
size: 16,
),
)
],
),
Expand All @@ -241,9 +255,19 @@ class HomeScreen extends StatelessWidget {
const SizedBox(
width: 5,
),
const Icon(
Icons.launch,
size: 16,
InkWell(
onTap: () async {
//Code to launch email
final Uri emailLaunchUri = Uri(
scheme: 'mailto',
path: contactEmail,
);
await launchUrl(emailLaunchUri);
},
child: const Icon(
Icons.launch,
size: 16,
),
)
],
),
Expand Down