forked from yaso_meth/mih-project
Merge pull request #113 from yaso-meth/NEW--Apple-tree-card
NEW--Apple-tree-card
This commit is contained in:
BIN
Frontend/images/loyalty_cards/apple_tree.png
Normal file
BIN
Frontend/images/loyalty_cards/apple_tree.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
@@ -15,13 +15,13 @@ abstract class AppEnviroment {
|
||||
case Enviroment.dev:
|
||||
{
|
||||
//================= Android Dev Urls =================
|
||||
// baseApiUrl = "http://10.0.2.2:8080";
|
||||
// baseFileUrl = "http://10.0.2.2:9000";
|
||||
// baseAiUrl = "http://10.0.2.2:11434";
|
||||
baseApiUrl = "http://10.0.2.2:8080";
|
||||
baseFileUrl = "http://10.0.2.2:9000";
|
||||
baseAiUrl = "http://10.0.2.2:11434";
|
||||
//================= Web Dev Urls =================
|
||||
baseApiUrl = "http://localhost:8080";
|
||||
baseFileUrl = "http://localhost:9000";
|
||||
baseAiUrl = "http://localhost:11434";
|
||||
// baseApiUrl = "http://localhost:8080";
|
||||
// baseFileUrl = "http://localhost:9000";
|
||||
// baseAiUrl = "http://localhost:11434";
|
||||
whatsappAccessToken =
|
||||
"EAAPINXuNFdYBOzBjTcvZA2iPXEHbHRF9uNXyP3ihkPRUcBqKNru5g9NKRRKkFaiaITEzO3BMo6CjdUmlDH4qYTW2mzDrZB4Q21ZCEZBgECZCu27vfaOXJZCYQLNxwoXkrZBRYv8ZAP37f69r3z9JxLQxdxn9gwqA3oNZAlBBRapJQzxOr6pZBTdI3bbjbu17ZBIwRcF4JCqPDCNLEZCI3bmHwEd2i2niNMYZD";
|
||||
//fingerPrintPluginKey = 'h5X7a5j14iUZCobI1ZeX';
|
||||
|
||||
@@ -103,6 +103,7 @@ class _MihCardsState extends State<MihCards> {
|
||||
controller: shopController,
|
||||
hintText: "Shop Name",
|
||||
dropdownOptions: const [
|
||||
"Apple Tree",
|
||||
"Best Before",
|
||||
"Checkers",
|
||||
"Clicks",
|
||||
|
||||
@@ -16,6 +16,8 @@ class MihCardDisplay extends StatefulWidget {
|
||||
class _MihCardDisplayState extends State<MihCardDisplay> {
|
||||
Widget displayLoyaltyCard() {
|
||||
switch (widget.shopName.toLowerCase()) {
|
||||
case "apple tree":
|
||||
return Image.asset('images/loyalty_cards/apple_tree.png');
|
||||
case "best before":
|
||||
return Image.asset('images/loyalty_cards/best_before.png');
|
||||
case "checkers":
|
||||
|
||||
Reference in New Issue
Block a user