Merge branch 'Delete-unused-widgets' into 'main'

done

See merge request Crondung/hsma_cpd!35
main
Julian Gegner 2023-03-06 17:15:46 +00:00
commit 92ef526e19
2 changed files with 0 additions and 52 deletions

View File

@ -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,
),
),
],
);
}
}

View File

@ -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: <Widget>[
Text(text),
],
),
);
}
}