From a30e84a70c62cc3d50508d3d360ff5ee4264cb81 Mon Sep 17 00:00:00 2001 From: Foti Dim Date: Tue, 13 Jan 2026 19:01:01 +0100 Subject: [PATCH] Add informational text and contact option in AppDrawer --- example/lib/home/widgets/drawer.dart | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/example/lib/home/widgets/drawer.dart b/example/lib/home/widgets/drawer.dart index 3963081..0b3e058 100644 --- a/example/lib/home/widgets/drawer.dart +++ b/example/lib/home/widgets/drawer.dart @@ -84,8 +84,9 @@ class _AppDrawerState extends State { 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 { "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')); + }, + ), ], ), ),