Added feedback dialog
This commit is contained in:
42
lib/view/pages/more/feedback/feedbackDialog.dart
Normal file
42
lib/view/pages/more/feedback/feedbackDialog.dart
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class FeedbackDialog extends StatefulWidget {
|
||||
const FeedbackDialog({super.key});
|
||||
|
||||
@override
|
||||
State<FeedbackDialog> createState() => _FeedbackDialogState();
|
||||
}
|
||||
|
||||
class _FeedbackDialogState extends State<FeedbackDialog> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: const Text("Feedback"),
|
||||
content: const Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text("Bitte gib keine Daten wie z.B. Passwörter weiter."),
|
||||
SizedBox(height: 20),
|
||||
TextField(
|
||||
decoration: InputDecoration(
|
||||
border: OutlineInputBorder(),
|
||||
label: Text("Feedback und Verbesserungen")
|
||||
),
|
||||
style: TextStyle(),
|
||||
minLines: 3,
|
||||
maxLines: 5,
|
||||
)
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
|
||||
},
|
||||
child: const Text("Senden"),
|
||||
)
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user