Added servers list and edit server

This commit is contained in:
Juan Gilsanz Polo 2022-09-26 22:43:30 +02:00
parent 3acfc7c5a5
commit 59e9917a4b
12 changed files with 777 additions and 14 deletions

View file

@ -0,0 +1,33 @@
import 'package:flutter/material.dart';
class ProcessDialog extends StatelessWidget {
final String message;
const ProcessDialog({
Key? key,
required this.message,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return WillPopScope(
onWillPop: () async => false,
child: Dialog(
backgroundColor: Theme.of(context).dialogBackgroundColor,
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 30,
horizontal: 30
),
child: Row(
children: [
const CircularProgressIndicator(),
const SizedBox(width: 40),
Text(message)
],
),
),
),
);
}
}