Created project base structure, state management, router and login

This commit is contained in:
Juan Gilsanz Polo
2024-02-21 23:53:22 +01:00
commit 460e13b2e9
168 changed files with 6966 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
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(
mainAxisSize: MainAxisSize.min,
children: [
const CircularProgressIndicator(),
const SizedBox(width: 40),
Flexible(
child: Text(
message,
style: TextStyle(color: Theme.of(context).colorScheme.onSurface),
),
)
],
),
),
),
);
}
}