1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Improved login page

This commit is contained in:
2019-04-23 08:46:50 +02:00
parent 23f25e7704
commit 32fa6455f4
2 changed files with 30 additions and 14 deletions

View File

@ -2,12 +2,18 @@ import 'package:flutter/material.dart';
/// User interface utilities
/// Build centered progress bar
Widget buildCenteredProgressBar() {
return Center(
child: CircularProgressIndicator(),
);
}
/// Build and return a full loading page
Widget buildLoadingPage() {
return Scaffold(
body: Center(
child: CircularProgressIndicator(),
),
body: buildCenteredProgressBar(),
);
}