done
parent
134bf1ae59
commit
07a6f0a46a
|
@ -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,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
|
@ -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),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue