From 07a6f0a46aa6e9f4c7b079a5ebbf9129ad2a0ca8 Mon Sep 17 00:00:00 2001 From: "k.mannweiler" <2012491@stud.hs-mannheim.de> Date: Mon, 6 Mar 2023 18:12:54 +0100 Subject: [PATCH] done --- lib/widgets/buttons/timer_button.dart | 30 --------------------- lib/widgets/popup/missing_config_popup.dart | 22 --------------- 2 files changed, 52 deletions(-) delete mode 100644 lib/widgets/buttons/timer_button.dart delete mode 100644 lib/widgets/popup/missing_config_popup.dart diff --git a/lib/widgets/buttons/timer_button.dart b/lib/widgets/buttons/timer_button.dart deleted file mode 100644 index 75ebe06..0000000 --- a/lib/widgets/buttons/timer_button.dart +++ /dev/null @@ -1,30 +0,0 @@ -import 'package:flutter/material.dart'; - -class TimerButton extends StatelessWidget { - final VoidCallback onClicked; - final Icon icon; - final Color color; - - const TimerButton( - {Key? key, - required this.onClicked, - required this.icon, - required this.color}) - : super(key: key); - - @override - Widget build(BuildContext context) { - return Column( - children: [ - InkWell( - onTap: onClicked, - child: CircleAvatar( - backgroundColor: color, - radius: 50, - child: icon, - ), - ), - ], - ); - } -} diff --git a/lib/widgets/popup/missing_config_popup.dart b/lib/widgets/popup/missing_config_popup.dart deleted file mode 100644 index 620774e..0000000 --- a/lib/widgets/popup/missing_config_popup.dart +++ /dev/null @@ -1,22 +0,0 @@ -import 'package:flutter/material.dart'; - -class MissingConfigPopup extends StatelessWidget { - final String title; - final String text; - const MissingConfigPopup( - {super.key, required this.title, required this.text}); - - @override - Widget build(BuildContext context) { - return AlertDialog( - title: Text(title), - content: Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text(text), - ], - ), - ); - } -}