showAbout function
Implementation
void showAbout(BuildContext context, {String? webId}) async {
final appInfo = await getAppNameVersion();
if (context.mounted) {
showAboutDialog(
context: context,
applicationLegalese: '© 2025 Software Innovation Institute ANU',
applicationIcon: Image.asset(
'assets/images/healthpod_logo.png',
width: 100,
height: 100,
),
applicationName: appInfo.name,
applicationVersion: appInfo.version,
children: [
SizedBox(
// Limit the width of the about dialog box.
width: 300,
child: Column(
children: [
const MarkdownBody(
selectable: true,
data: '''
**A Health and Medical Record Manager.**
HealthPod is an app for managing your health data and medical records, keeping
all data stored in your personal online dataset (Pod). Medical documents as well
as a health diary can be maintained.
The app is written in Flutter and the open source code
is available from github at https://github.com/gjwgit/healthpod.
You can try it out online at https://healthpod.solidcommunity.au.
The images for the app were generated by ChatGPT.
*Authors: Graham Williams, Ashley Tang.*
*Contributors: .*
''',
),
const SizedBox(
height: 10,
),
Align(
alignment: Alignment.bottomLeft,
child: SelectableText.rich(
TextSpan(
children: [
const TextSpan(
text: 'Web ID: ',
style: TextStyle(fontWeight: FontWeight.bold),
),
TextSpan(
text: webId ??
'Web ID is not available and need to login first.',
),
],
),
),
),
],
),
),
],
);
}
}