2024-06-17 17:57:32 +02:00
import ' package:cofounderella/components/text_bold.dart ' ;
2024-05-26 17:33:28 +02:00
import ' package:flutter/material.dart ' ;
import ' ../constants.dart ' ;
class MyAboutDialog extends StatelessWidget {
const MyAboutDialog ( { super . key } ) ;
@ override
Widget build ( BuildContext context ) {
return AlertDialog (
title: const Row (
children: [
Icon ( Icons . info ) ,
SizedBox ( width: 10 ) ,
Text ( ' About the app ' , style: TextStyle ( fontSize: 18 ) ) ,
] ,
) ,
2024-06-19 19:31:18 +02:00
content: const SingleChildScrollView (
2024-05-26 17:33:28 +02:00
child: ListBody (
children: < Widget > [
2024-06-19 19:31:18 +02:00
Row (
2024-05-26 17:33:28 +02:00
children: [
Icon ( Icons . apps , size: 50 ) ,
SizedBox ( width: 10 ) ,
Column (
crossAxisAlignment: CrossAxisAlignment . start ,
children: [
2024-06-17 17:57:32 +02:00
TextBold ( text: Constants . appTitle , fontSize: 24 ) ,
2024-05-26 17:33:28 +02:00
Text (
' Version ${ Constants . appVersion } ( ${ Constants . appCompilationDate } ) ' ) ,
] ,
) ,
] ,
) ,
2024-06-19 19:31:18 +02:00
SizedBox ( height: 20 ) ,
Text (
2024-05-26 17:33:28 +02:00
' © 2024 Team ${ Constants . appTitle } . All rights reserved. ' ) ,
2024-06-19 19:31:18 +02:00
SizedBox ( height: 20 ) ,
/ * GestureDetector (
2024-05-26 17:33:28 +02:00
onTap: ( ) = > { } ,
child: const Text (
' https://www.no-website.yet ' ,
style: TextStyle (
color: Colors . blue ,
decoration: TextDecoration . underline ,
) ,
) ,
2024-06-19 19:31:18 +02:00
) , * /
SizedBox ( height: 20 ) ,
Text (
2024-05-26 17:33:28 +02:00
' ${ Constants . appTitle } helps entrepreneurs find the right co-founders who complement their skills and also share their interests and business goals. '
' Whether you are looking for a tech expert, a marketing guru, or a visionary partner. This app aims to help you finding a perfect co-founder to bring your startup ideas to life. ' ,
) ,
] ,
) ,
) ,
actions: [
TextButton (
onPressed: ( ) {
showLicensePage ( context: context ) ;
} ,
child: const Text ( ' View licenses ' ) ,
) ,
TextButton (
onPressed: ( ) {
Navigator . of ( context ) . pop ( ) ;
} ,
child: const Text ( ' Close ' ) ,
) ,
] ,
) ;
}
}