-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4be4f1
commit fbd391a
Showing
5 changed files
with
32 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,9 @@ Added new widgets | |
|
||
## 1.0.4 | ||
|
||
Updated documentation | ||
Updated documentation | ||
|
||
## 1.0.5 | ||
|
||
Updated links | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,14 @@ class IntroScreen extends StatelessWidget { | |
|
||
// CTA button with links | ||
_buildLinksSection(), | ||
|
||
const Text( | ||
'For more informations contact on email: [email protected]' | ||
'Or join our discord server: https://discord.gg/y2T4m4t72W', | ||
textAlign: TextAlign.center, | ||
style: TextStyle(fontSize: 16), | ||
), | ||
const SizedBox(height: 24), | ||
], | ||
), | ||
), | ||
|
@@ -102,19 +110,25 @@ class IntroScreen extends StatelessWidget { | |
label: const Text('Explore Flutter Builder'), | ||
onPressed: () async { | ||
const url = 'https://flutter-builder.app/'; | ||
if (await canLaunchUrl(Uri.parse(url))) { | ||
await canLaunchUrl(Uri.parse(url)); | ||
if (!await launchUrl( | ||
Uri.parse(url), | ||
mode: LaunchMode.externalApplication, | ||
)) { | ||
throw Exception('Could not launch $url'); | ||
} | ||
}, | ||
), | ||
const SizedBox(height: 8), | ||
ElevatedButton.icon( | ||
icon: const Icon(Icons.book), | ||
label: const Text('View Documentation'), | ||
label: const Text('Discord Server'), | ||
onPressed: () async { | ||
const url = 'https://flutter-builder-ui-kit.web.app/'; | ||
if (await canLaunchUrl(Uri.parse(url))) { | ||
await canLaunchUrl(Uri.parse(url)); | ||
const url = 'https://discord.gg/y2T4m4t72W'; | ||
if (!await launchUrl( | ||
Uri.parse(url), | ||
mode: LaunchMode.externalApplication, | ||
)) { | ||
throw Exception('Could not launch $url'); | ||
} | ||
}, | ||
), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters