Neues Popup Design #152

Merged
flixcoo merged 15 commits from feature/129-neues-popup-design into development 2026-01-13 22:01:05 +00:00
Showing only changes of commit 4161e1e88b - Show all commits

View File

@@ -1,9 +1,19 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:game_tracker/core/custom_theme.dart'; import 'package:game_tracker/core/custom_theme.dart';
/// A custom alert dialog widget that follows the application's design theme.
///
/// This widget provides a styled alternative to the default Flutter AlertDialog,
/// with consistent colors, borders, and layout that match the app's custom theme.
class CustomAlertDialog extends StatelessWidget { class CustomAlertDialog extends StatelessWidget {
flixcoo marked this conversation as resolved Outdated

Ähnlich wie bei allen Widget Klassen die Attribut-Variablen erklären

Ähnlich wie bei allen Widget Klassen die Attribut-Variablen erklären
/// The title text displayed at the top of the dialog.
final String title; final String title;
/// The main content text displayed in the body of the dialog.
final String content; final String content;
/// A list of action widgets (typically buttons) displayed at the bottom of the dialog.
/// These actions are horizontally spaced around the dialog's width.
final List<Widget> actions; final List<Widget> actions;
const CustomAlertDialog({ const CustomAlertDialog({
sneeex marked this conversation as resolved Outdated

Konstruktor über den Variablen

Konstruktor über den Variablen