Files
Fondex/lib/screen_ui/maintenance_mode_screen/maintenance_mode_screen.dart

44 lines
1.3 KiB
Dart

import 'package:customer/themes/app_them_data.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class MaintenanceModeScreen extends StatelessWidget {
const MaintenanceModeScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: AppThemeData.grey100,
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Center(
child: Image.asset(
'assets/images/maintenance.png',
height: 200,
width: 200,
),
),
const SizedBox(height: 20),
Text(
"We'll be back soon!".tr,
style: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
),
const SizedBox(height: 10),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 20.0),
child: Text(
"Sorry for the inconvenience but we're performing some maintenance at the moment. We'll be back online shortly!"
.tr,
textAlign: TextAlign.center,
style: const TextStyle(fontSize: 16),
),
),
],
),
);
}
}