import 'package:flutter/material.dart'; class NotFoundPage extends StatefulWidget { const NotFoundPage({Key? key}) : super(key: key); @override State createState() => _NotFoundPageState(); } class _NotFoundPageState extends State { @override Widget build(BuildContext context) { return Container(color: Colors.yellow,alignment: Alignment.center,child: const Text('404 Page not Found!',textAlign: TextAlign.center,),); } }