21 lines
562 B
Dart
21 lines
562 B
Dart
import 'package:animated_background/animated_background.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/src/scheduler/ticker.dart';
|
|
|
|
class NotFoundPage extends StatelessWidget {
|
|
const NotFoundPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return AnimatedBackground(
|
|
behaviour: RandomParticleBehaviour(),
|
|
vsync: Scaffold.of(context),
|
|
child: Center(
|
|
child: Text(
|
|
'Page not found',
|
|
style: Theme.of(context).textTheme.headlineMedium,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|