2020-12-02 09:16:23 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2022-08-26 03:41:16 +00:00
|
|
|
import 'package:selfprivacy/config/brand_theme.dart';
|
2020-12-02 09:16:23 +00:00
|
|
|
import 'package:selfprivacy/ui/components/brand_header/brand_header.dart';
|
2021-03-18 07:26:54 +00:00
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
import 'package:selfprivacy/ui/components/brand_md/brand_md.dart';
|
2020-12-02 09:16:23 +00:00
|
|
|
|
|
|
|
class AboutPage extends StatelessWidget {
|
2022-06-05 22:40:34 +00:00
|
|
|
const AboutPage({final super.key});
|
2020-12-02 09:16:23 +00:00
|
|
|
|
|
|
|
@override
|
2022-06-05 19:36:32 +00:00
|
|
|
Widget build(final BuildContext context) => SafeArea(
|
2022-06-05 22:40:34 +00:00
|
|
|
child: Scaffold(
|
|
|
|
appBar: PreferredSize(
|
|
|
|
preferredSize: const Size.fromHeight(52),
|
|
|
|
child: BrandHeader(
|
|
|
|
title: 'more.about_project'.tr(),
|
|
|
|
hasBackButton: true,
|
|
|
|
),
|
|
|
|
),
|
2022-08-26 03:41:16 +00:00
|
|
|
body: ListView(
|
|
|
|
padding: paddingH15V0,
|
|
|
|
children: const [
|
|
|
|
BrandMarkdown(
|
|
|
|
fileName: 'about',
|
|
|
|
),
|
|
|
|
],
|
2022-06-05 22:40:34 +00:00
|
|
|
),
|
2020-12-03 16:52:53 +00:00
|
|
|
),
|
2022-06-05 22:40:34 +00:00
|
|
|
);
|
2020-12-02 09:16:23 +00:00
|
|
|
}
|