first commit
This commit is contained in:
commit
39e38f931f
382 changed files with 520450 additions and 0 deletions
33
lib/screens/wool_modal.dart
Normal file
33
lib/screens/wool_modal.dart
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:temperaturdecke/db_test.dart';
|
||||
|
||||
class WoolModal extends StatelessWidget {
|
||||
WoolModal(this.woolId, {super.key});
|
||||
|
||||
int woolId;
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ClipRRect(
|
||||
borderRadius: BorderRadius.vertical(top: Radius.circular(20)),
|
||||
child: SizedBox(
|
||||
width: 750,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(10),
|
||||
child: Column(
|
||||
children: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
removeWool(context, woolId);
|
||||
},
|
||||
child: Text("Löschen"),
|
||||
style: ButtonStyle(
|
||||
minimumSize:
|
||||
WidgetStateProperty.all(Size(double.maxFinite, 70))),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in a new issue