From a4ab10db17353a235e4be33a91abf78e3e7b4f0f Mon Sep 17 00:00:00 2001 From: Andrew nuark G Date: Mon, 1 May 2023 01:55:25 +0700 Subject: [PATCH] No more animated background --- lib/pages/not_found_page.dart | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/pages/not_found_page.dart b/lib/pages/not_found_page.dart index 3f46a93..f92fe21 100644 --- a/lib/pages/not_found_page.dart +++ b/lib/pages/not_found_page.dart @@ -1,4 +1,3 @@ -import 'package:animated_background/animated_background.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; @@ -14,14 +13,10 @@ class _NotFoundPageState extends State @override Widget build(BuildContext context) { return Scaffold( - body: AnimatedBackground( - behaviour: RandomParticleBehaviour(), - vsync: this, - child: Center( - child: Text( - 'Page not found', - style: Theme.of(context).textTheme.headlineMedium, - ), + body: Center( + child: Text( + 'Page not found', + style: Theme.of(context).textTheme.headlineMedium, ), ), bottomSheet: Container(