diff --git a/lib/screens/homescreen.dart b/lib/screens/homescreen.dart index 18aeabd..982fc93 100644 --- a/lib/screens/homescreen.dart +++ b/lib/screens/homescreen.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:fluttertoast/fluttertoast.dart'; import 'package:plaso_connect/constants/colors.dart'; import 'package:plaso_connect/screens/selectoxygen.dart'; import 'package:plaso_connect/screens/selectplasma.dart'; @@ -58,7 +59,17 @@ class HomeScreen extends StatelessWidget { ), homeButton( text: "More", - onTap: () {}, + onTap: () { + Fluttertoast.showToast( + msg: "Coming Soon", + toastLength: Toast.LENGTH_SHORT, + gravity: ToastGravity.BOTTOM, + timeInSecForIosWeb: 1, + backgroundColor: Colors.red, + textColor: Colors.white, + fontSize: 18.0, + ); + }, ), ], ), diff --git a/pubspec.lock b/pubspec.lock index 4155791..2878646 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -170,6 +170,13 @@ packages: description: flutter source: sdk version: "0.0.0" + fluttertoast: + dependency: "direct main" + description: + name: fluttertoast + url: "https://pub.dartlang.org" + source: hosted + version: "8.0.6" google_fonts: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index e12779d..645054e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -31,6 +31,7 @@ dependencies: firebase_auth: ^1.1.2 cloud_firestore: ^1.0.7 carousel_slider: ^4.0.0-nullsafety.0 + fluttertoast: ^8.0.6 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons.