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

51 lines
2.0 KiB
Dart
Raw Normal View History

2020-12-02 11:16:23 +02:00
import 'package:flutter/material.dart';
import 'package:selfprivacy/config/brand_theme.dart';
import 'package:selfprivacy/ui/components/brand_divider/brand_divider.dart';
import 'package:selfprivacy/ui/components/brand_header/brand_header.dart';
2020-12-08 21:26:51 +02:00
import 'package:selfprivacy/ui/components/brand_text/brand_text.dart';
2020-12-02 11:16:23 +02:00
class AboutPage extends StatelessWidget {
const AboutPage({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
2020-12-03 18:52:53 +02:00
appBar: PreferredSize(
child: BrandHeader(title: 'О проекте', hasBackButton: true),
preferredSize: Size.fromHeight(52),
),
2020-12-02 11:16:23 +02:00
body: ListView(
2020-12-03 18:52:53 +02:00
padding: brandPagePadding2,
2020-12-02 11:16:23 +02:00
children: [
2020-12-03 18:52:53 +02:00
BrandDivider(),
SizedBox(height: 20),
2020-12-08 21:26:51 +02:00
BrandText.h3('О проекте'),
2020-12-03 18:52:53 +02:00
SizedBox(height: 10),
2020-12-08 21:26:51 +02:00
BrandText.body1(
'Всё больше организаций хотят владеть нашими данными'),
2020-12-03 18:52:53 +02:00
SizedBox(height: 10),
2020-12-08 21:26:51 +02:00
BrandText.body1(
'А мы сами хотим распоряжаться своими данными на своем сервере.'),
2020-12-03 18:52:53 +02:00
SizedBox(height: 20),
BrandDivider(),
SizedBox(height: 10),
2020-12-08 21:26:51 +02:00
BrandText.h3('Миссия проекта'),
2020-12-03 18:52:53 +02:00
SizedBox(height: 10),
2020-12-08 21:26:51 +02:00
BrandText.body1(
'Цифровая независимость и приватность доступная каждому'),
2020-12-03 18:52:53 +02:00
SizedBox(height: 20),
BrandDivider(),
SizedBox(height: 10),
2020-12-08 21:26:51 +02:00
BrandText.h3('Цель'),
2020-12-03 18:52:53 +02:00
SizedBox(height: 10),
2020-12-08 21:26:51 +02:00
BrandText.body1(
2020-12-03 18:52:53 +02:00
'Развивать программу, которая позволит каждому создавать приватные сервисы для себя и своих близких'),
SizedBox(height: 10),
2020-12-02 11:16:23 +02:00
],
),
),
);
}
}