main
Kai Mannweiler 2023-03-06 18:12:54 +01:00
parent 134bf1ae59
commit 07a6f0a46a
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),
],
),
);
}
}