No more animated background
This commit is contained in:
parent
255ff6e801
commit
a4ab10db17
1 changed files with 4 additions and 9 deletions
|
|
@ -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,14 +13,10 @@ 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(),
|
child: Text(
|
||||||
vsync: this,
|
'Page not found',
|
||||||
child: Center(
|
style: Theme.of(context).textTheme.headlineMedium,
|
||||||
child: Text(
|
|
||||||
'Page not found',
|
|
||||||
style: Theme.of(context).textTheme.headlineMedium,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
bottomSheet: Container(
|
bottomSheet: Container(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue