Files
Fondex-Driver/lib/app/maintenance_mode_screen/maintenance_mode_screen.dart
2025-12-08 23:25:00 +05:00

47 lines
1.3 KiB
Dart

import 'package:driver/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,
),
),
),
],
),
);
}
}