cpd_2022_zi/lib/widgets/missing_config_popup.dart

23 lines
526 B
Dart

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),
],
),
);
}
}