102 lines
3.4 KiB
Dart
102 lines
3.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:hiddingsel_app/constants/constant.dart';
|
|
|
|
import '../../../services/environment.dart';
|
|
import '../navigation_drawer.dart';
|
|
|
|
class ContactView extends StatelessWidget with NavigationDrawerItem {
|
|
|
|
//TODO Low-Prio: Beim nächsten Anfassen durch RichText ersetzen
|
|
|
|
@override
|
|
String get title => 'Kontakt';
|
|
|
|
@override
|
|
Widget build(BuildContext context) => Container(
|
|
padding: EdgeInsets.all(UIShapes.paddingMax),
|
|
decoration: BoxDecoration(
|
|
gradient: UIGradiants.black,
|
|
),
|
|
child: ListView(
|
|
children: <Widget>[
|
|
Divider(),
|
|
Text(
|
|
'Ihr Verein möchte auch in der Hiddingsel-App sichtbar sein? Ein Termin ihres Vereins soll im Dorfkalender erscheinen? Oder sie haben eine generelle Anmerkung zur App?\nDann melden sie sich gerne mit ihrem Anliegen bei uns unter den foldenen E-Mail-Adressen.',
|
|
textAlign: TextAlign.justify,
|
|
style: UITheme.theme.textTheme.bodyMedium,
|
|
),
|
|
Divider(height: UIShapes.paddingMax),
|
|
Divider(height: UIShapes.paddingMax),
|
|
FloatingActionButton(
|
|
child: Icon(
|
|
Icons.mail,
|
|
color: UIColors.white,
|
|
),
|
|
tooltip: 'news@hiddingsel.de',
|
|
backgroundColor: UIColors.black,
|
|
onPressed: (){
|
|
EnvironmentConnector.openMail('news@hiddingsel.de');
|
|
},
|
|
),
|
|
Text(
|
|
'NEWS',
|
|
textAlign: TextAlign.center,
|
|
style: UITheme.theme.textTheme.headlineMedium,
|
|
),
|
|
Text(
|
|
'news@hiddingsel.de',
|
|
textAlign: TextAlign.center,
|
|
style: UITheme.theme.textTheme.bodyMedium,
|
|
),
|
|
Divider(height: UIShapes.paddingMax),
|
|
Divider(height: UIShapes.paddingMax),
|
|
FloatingActionButton(
|
|
child: Icon(
|
|
Icons.mail,
|
|
color: UIColors.white,
|
|
),
|
|
tooltip: 'termine@hiddingsel.de',
|
|
backgroundColor: UIColors.black,
|
|
onPressed: (){
|
|
EnvironmentConnector.openMail('termine@hiddingsel.de');
|
|
},
|
|
),
|
|
Text(
|
|
'TERMINE',
|
|
textAlign: TextAlign.center,
|
|
style: UITheme.theme.textTheme.headlineMedium,
|
|
),
|
|
Text(
|
|
'termine@hiddingsel.de',
|
|
textAlign: TextAlign.center,
|
|
style: UITheme.theme.textTheme.bodyMedium,
|
|
),
|
|
Divider(height: UIShapes.paddingMax),
|
|
Divider(height: UIShapes.paddingMax),
|
|
FloatingActionButton(
|
|
child: Icon(
|
|
Icons.mail,
|
|
color: UIColors.white,
|
|
),
|
|
tooltip: 'app@hiddingsel.de',
|
|
backgroundColor: UIColors.black,
|
|
onPressed: (){
|
|
EnvironmentConnector.openMail('app@hiddingsel.de');
|
|
},
|
|
),
|
|
Text(
|
|
'APP',
|
|
textAlign: TextAlign.center,
|
|
style: UITheme.theme.textTheme.headlineMedium,
|
|
),
|
|
Text(
|
|
'app@hiddingsel.de',
|
|
textAlign: TextAlign.center,
|
|
style: UITheme.theme.textTheme.bodyMedium,
|
|
),
|
|
Divider(),
|
|
],
|
|
),
|
|
);
|
|
}
|