23 lines
651 B
Dart
23 lines
651 B
Dart
// lib/screens/pages/not_found_screen.dart
|
|
import 'package:flutter/material.dart';
|
|
|
|
class NotFoundScreen extends StatelessWidget {
|
|
const NotFoundScreen({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(title: const Text('Not Found')),
|
|
body: const Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Icon(Icons.error, size: 60, color: Colors.red),
|
|
SizedBox(height: 16),
|
|
Text('404 - Page Not Found', style: TextStyle(fontSize: 20)),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
} |