No more animated background

This commit is contained in:
Andrew 2023-05-01 01:55:25 +07:00
parent 255ff6e801
commit a4ab10db17

View file

@ -1,4 +1,3 @@
import 'package:animated_background/animated_background.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
@ -14,16 +13,12 @@ class _NotFoundPageState extends State<NotFoundPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
body: AnimatedBackground( body: Center(
behaviour: RandomParticleBehaviour(),
vsync: this,
child: Center(
child: Text( child: Text(
'Page not found', 'Page not found',
style: Theme.of(context).textTheme.headlineMedium, style: Theme.of(context).textTheme.headlineMedium,
), ),
), ),
),
bottomSheet: Container( bottomSheet: Container(
color: Colors.black.withAlpha(100), color: Colors.black.withAlpha(100),
padding: const EdgeInsets.all(16), padding: const EdgeInsets.all(16),