Add informational text and contact option in AppDrawer

This commit is contained in:
Foti Dim
2026-01-13 19:01:01 +01:00
parent 9d73a9f402
commit a30e84a70c
+23 -1
View File
@@ -84,8 +84,9 @@ class _AppDrawerState extends State<AppDrawer> {
textAlign: TextAlign.justify,
text: TextSpan(
children: [
TextSpan(text: "Universal BLE is "),
TextSpan(
text: 'Learn More',
text: 'open source',
style: const TextStyle(
color: Colors.blue,
decoration: TextDecoration.underline,
@@ -96,6 +97,27 @@ class _AppDrawerState extends State<AppDrawer> {
"https://github.com/Navideck/universal_ble"));
},
),
TextSpan(text: "."),
],
),
),
const SizedBox(height: 24),
RichText(
textAlign: TextAlign.justify,
text: TextSpan(
children: [
TextSpan(text: "Need help with your project? "),
TextSpan(
text: 'Hire us',
style: const TextStyle(
color: Colors.blue,
decoration: TextDecoration.underline,
),
recognizer: TapGestureRecognizer()
..onTap = () {
launchUrl(Uri.parse('mailto:info@navideck.com'));
},
),
],
),
),