TKK_E32221292/Aplikasi Android/lib/features/activity/activity_offline_blocked_pa...

48 lines
1.4 KiB
Dart

import 'package:flutter/material.dart';
import 'package:flutter_application_1/core/theme/app_colors.dart';
class ActivityOfflineBlockedPage extends StatelessWidget {
const ActivityOfflineBlockedPage({super.key});
@override
Widget build(BuildContext context) {
return const Scaffold(
body: SafeArea(
child: Padding(
padding: EdgeInsets.all(24),
child: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Icon(
Icons.cloud_off_outlined,
size: 68,
color: AppColors.orange,
),
SizedBox(height: 18),
Text(
'Activity unavailable',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w800,
color: AppColors.textDark,
),
),
SizedBox(height: 10),
Text(
'Reconnect internet and device connection to access activity and ride history.',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14,
color: AppColors.textMuted,
),
),
],
),
),
),
),
);
}
}