From 951f7860824ac4c3e0ec40c9c30b5fa3493fb979 Mon Sep 17 00:00:00 2001 From: Neel Patel Date: Wed, 13 Jan 2021 22:46:39 -0600 Subject: [PATCH] Add a widget to denote that a portion of the app is under construction --- .../memoree_client/lib/app/widgets/wip.dart | 24 +++++++++++++++++++ frontend/memoree_client/pubspec.lock | 2 +- frontend/memoree_client/pubspec.yaml | 1 + 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100755 frontend/memoree_client/lib/app/widgets/wip.dart diff --git a/frontend/memoree_client/lib/app/widgets/wip.dart b/frontend/memoree_client/lib/app/widgets/wip.dart new file mode 100755 index 0000000..359dd19 --- /dev/null +++ b/frontend/memoree_client/lib/app/widgets/wip.dart @@ -0,0 +1,24 @@ +import 'package:flutter/material.dart'; + +class WIP extends StatelessWidget { + @override + Widget build(BuildContext context) { + return Container( + child: Center( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Icon( + Icons.handyman, + size: 100 + ), + SizedBox( + height: 15, + ), + Text("Construction in progress. Please come back later."), + ], + ), + ), + ); + } +} \ No newline at end of file diff --git a/frontend/memoree_client/pubspec.lock b/frontend/memoree_client/pubspec.lock index 3e44118..d47163c 100755 --- a/frontend/memoree_client/pubspec.lock +++ b/frontend/memoree_client/pubspec.lock @@ -9,7 +9,7 @@ packages: source: hosted version: "1.6.0" async: - dependency: transitive + dependency: "direct main" description: name: async url: "https://pub.dartlang.org" diff --git a/frontend/memoree_client/pubspec.yaml b/frontend/memoree_client/pubspec.yaml index 77827b4..02e8f80 100755 --- a/frontend/memoree_client/pubspec.yaml +++ b/frontend/memoree_client/pubspec.yaml @@ -23,6 +23,7 @@ environment: dependencies: flutter: sdk: flutter + async: ^2.4.2 cloud_functions: ^0.7.2 cupertino_icons: ^1.0.0 easy_web_view: ^1.3.1