Add informational text and contact option in AppDrawer
This commit is contained in:
@@ -84,8 +84,9 @@ class _AppDrawerState extends State<AppDrawer> {
|
|||||||
textAlign: TextAlign.justify,
|
textAlign: TextAlign.justify,
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
children: [
|
children: [
|
||||||
|
TextSpan(text: "Universal BLE is "),
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: 'Learn More',
|
text: 'open source',
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
color: Colors.blue,
|
color: Colors.blue,
|
||||||
decoration: TextDecoration.underline,
|
decoration: TextDecoration.underline,
|
||||||
@@ -96,6 +97,27 @@ class _AppDrawerState extends State<AppDrawer> {
|
|||||||
"https://github.com/Navideck/universal_ble"));
|
"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'));
|
||||||
|
},
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user