12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import 'package:flutter/material.dart';
- import 'package:flutter_svg/flutter_svg.dart';
- class AboutScreen extends StatelessWidget {
- const AboutScreen({super.key});
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- title: const Text('About'),
- ),
- body: Center(
- child: Padding(
- padding: const EdgeInsets.all(20.0),
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- children: [
- SvgPicture.asset(
- 'assets/logo.svg', // Adjust path to your SVG logo
- width: 120,
- height: 120,
- ),
- const SizedBox(height: 20),
- const Text(
- 'Sun Crypt',
- style: TextStyle(
- fontSize: 24,
- fontWeight: FontWeight.bold,
- ),
- ),
- const SizedBox(height: 10),
- const Text(
- 'Version 1.0',
- style: TextStyle(
- fontSize: 18,
- ),
- ),
- const SizedBox(height: 20),
- const Text(
- "Sun Crypt is a cross-platform application that allows users to encrypt and decrypt files using a password. The app provides a simple interface for selecting files, entering a password, and saving the encrypted or decrypted files to a chosen directory.",
- textAlign: TextAlign.center,
- style: TextStyle(
- fontSize: 16,
- ),
- ),
- const SizedBox(height: 20),
- const Text(
- 'Developed by Ali Miracle',
- style: TextStyle(
- fontSize: 18,
- ),
- ),
- const SizedBox(height: 10),
- const Text(
- 'Contact: alimiracle@riseup.net',
- style: TextStyle(
- fontSize: 16,
- color: Colors.blue,
- ),
- ),
- const SizedBox(height: 30),
- ElevatedButton(
- onPressed: () {
- Navigator.pop(context);
- },
- child: const Text('Back to Home'),
- ),
- ],
- ),
- ),
- ),
- );
- }
- }
|