selfprivacy.org.app/lib/ui/pages/more/about/about.dart

23 lines
696 B
Dart
Raw Normal View History

2020-12-02 11:16:23 +02:00
import 'package:flutter/material.dart';
import 'package:selfprivacy/ui/components/brand_header/brand_header.dart';
2021-03-18 09:26:54 +02:00
import 'package:easy_localization/easy_localization.dart';
import 'package:selfprivacy/ui/components/brand_md/brand_md.dart';
2020-12-02 11:16:23 +02:00
class AboutPage extends StatelessWidget {
2022-06-05 22:36:32 +03:00
const AboutPage({super.key});
2020-12-02 11:16:23 +02:00
@override
2022-06-05 22:36:32 +03:00
Widget build(final BuildContext context) => SafeArea(
2020-12-02 11:16:23 +02:00
child: Scaffold(
2020-12-03 18:52:53 +02:00
appBar: PreferredSize(
2022-05-24 21:55:39 +03:00
preferredSize: const Size.fromHeight(52),
2021-03-18 09:26:54 +02:00
child: BrandHeader(
2022-06-05 22:36:32 +03:00
title: 'more.about_project'.tr(), hasBackButton: true,),
2020-12-03 18:52:53 +02:00
),
2022-05-24 21:55:39 +03:00
body: const BrandMarkdown(
fileName: 'about',
2020-12-02 11:16:23 +02:00
),
),
);
}