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:
|
case Enviroment.dev:
|
||||||
{
|
{
|
||||||
//================= Android Dev Urls =================
|
//================= Android Dev Urls =================
|
||||||
// baseApiUrl = "http://10.0.2.2:8080";
|
baseApiUrl = "http://10.0.2.2:8080";
|
||||||
// baseFileUrl = "http://10.0.2.2:9000";
|
baseFileUrl = "http://10.0.2.2:9000";
|
||||||
// baseAiUrl = "http://10.0.2.2:11434";
|
baseAiUrl = "http://10.0.2.2:11434";
|
||||||
//================= Web Dev Urls =================
|
//================= Web Dev Urls =================
|
||||||
baseApiUrl = "http://localhost:8080";
|
// baseApiUrl = "http://localhost:8080";
|
||||||
baseFileUrl = "http://localhost:9000";
|
// baseFileUrl = "http://localhost:9000";
|
||||||
baseAiUrl = "http://localhost:11434";
|
// baseAiUrl = "http://localhost:11434";
|
||||||
whatsappAccessToken =
|
whatsappAccessToken =
|
||||||
"EAAPINXuNFdYBOzBjTcvZA2iPXEHbHRF9uNXyP3ihkPRUcBqKNru5g9NKRRKkFaiaITEzO3BMo6CjdUmlDH4qYTW2mzDrZB4Q21ZCEZBgECZCu27vfaOXJZCYQLNxwoXkrZBRYv8ZAP37f69r3z9JxLQxdxn9gwqA3oNZAlBBRapJQzxOr6pZBTdI3bbjbu17ZBIwRcF4JCqPDCNLEZCI3bmHwEd2i2niNMYZD";
|
"EAAPINXuNFdYBOzBjTcvZA2iPXEHbHRF9uNXyP3ihkPRUcBqKNru5g9NKRRKkFaiaITEzO3BMo6CjdUmlDH4qYTW2mzDrZB4Q21ZCEZBgECZCu27vfaOXJZCYQLNxwoXkrZBRYv8ZAP37f69r3z9JxLQxdxn9gwqA3oNZAlBBRapJQzxOr6pZBTdI3bbjbu17ZBIwRcF4JCqPDCNLEZCI3bmHwEd2i2niNMYZD";
|
||||||
//fingerPrintPluginKey = 'h5X7a5j14iUZCobI1ZeX';
|
//fingerPrintPluginKey = 'h5X7a5j14iUZCobI1ZeX';
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ class _MihCardsState extends State<MihCards> {
|
|||||||
controller: shopController,
|
controller: shopController,
|
||||||
hintText: "Shop Name",
|
hintText: "Shop Name",
|
||||||
dropdownOptions: const [
|
dropdownOptions: const [
|
||||||
|
"Apple Tree",
|
||||||
"Best Before",
|
"Best Before",
|
||||||
"Checkers",
|
"Checkers",
|
||||||
"Clicks",
|
"Clicks",
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ class MihCardDisplay extends StatefulWidget {
|
|||||||
class _MihCardDisplayState extends State<MihCardDisplay> {
|
class _MihCardDisplayState extends State<MihCardDisplay> {
|
||||||
Widget displayLoyaltyCard() {
|
Widget displayLoyaltyCard() {
|
||||||
switch (widget.shopName.toLowerCase()) {
|
switch (widget.shopName.toLowerCase()) {
|
||||||
|
case "apple tree":
|
||||||
|
return Image.asset('images/loyalty_cards/apple_tree.png');
|
||||||
case "best before":
|
case "best before":
|
||||||
return Image.asset('images/loyalty_cards/best_before.png');
|
return Image.asset('images/loyalty_cards/best_before.png');
|
||||||
case "checkers":
|
case "checkers":
|
||||||
|
|||||||
Reference in New Issue
Block a user