Skip to content
Snippets Groups Projects
Commit 34cffbf1 authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: reload animaion

parent ed26dbf7
No related branches found
No related tags found
1 merge request!12Clhp map
......@@ -22,6 +22,7 @@ class _DefaultPageState extends State<DefaultPage> {
late Timer _timer;
bool serverConnection = true;
bool dialogShown = false;
final backgroundColor = Colors.black87;
@override
void dispose() {
......@@ -37,9 +38,9 @@ class _DefaultPageState extends State<DefaultPage> {
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.grey[900],
backgroundColor: backgroundColor,
appBar: AppBar(
backgroundColor: Colors.black87,
backgroundColor: backgroundColor,
leading: IconButton(
icon: const Icon(
Icons.menu,
......@@ -84,8 +85,8 @@ class _DefaultPageState extends State<DefaultPage> {
],
),
body: LiquidPullToRefresh(
color: Colors.grey[900],
height: 200,
color: backgroundColor,
height: 100,
backgroundColor: Colors.grey[600],
onRefresh: _handleRefresh,
animSpeedFactor: 3,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment