Started Using ThemeData, Changed Primary Color to indigo and corrected logo to indigo.

Signed-off-by: Andreas Fahrecker <AndreasFahrecker@gmail.com>
This commit is contained in:
Andreas Fahrecker
2021-02-10 15:04:51 +01:00
parent 44db690a4a
commit c5e240e813
11 changed files with 16 additions and 8 deletions

View File

@ -61,6 +61,8 @@ class _ProgressCreationScreenState extends State<ProgressCreationScreen> {
@override
Widget build(BuildContext context) {
ThemeData appTheme = Theme.of(context);
return Scaffold(
appBar: AppBar(
title: Text("Create Time Progress"),
@ -95,7 +97,7 @@ class _ProgressCreationScreenState extends State<ProgressCreationScreen> {
Expanded(
flex: 5,
child: FlatButton(
color: Colors.blue,
color: appTheme.accentColor,
child: Text(
"Start Date: ${pickedStartTime.toLocal().toString().split(" ")[0]}"),
onPressed: () async {
@ -115,7 +117,7 @@ class _ProgressCreationScreenState extends State<ProgressCreationScreen> {
Expanded(
flex: 5,
child: FlatButton(
color: Colors.blue,
color: appTheme.accentColor,
child: Text(
"End Date: ${pickedEndTime.toLocal().toString().split(" ")[0]}"),
onPressed: () async {