mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Improved login page
This commit is contained in:
		@@ -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(),
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user