-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add screenshots and refactor views, routes
- Loading branch information
1 parent
35a4b4f
commit 3ac5f3b
Showing
44 changed files
with
539 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
import 'package:flutter/foundation.dart'; | ||
|
||
class RestaurantDetail { | ||
final String title; | ||
final String price; | ||
final String image; | ||
final String desc; | ||
|
||
RestaurantDetail({ | ||
@required this.title, | ||
@required this.price, | ||
this.image = '', | ||
this.desc = '', | ||
}); | ||
|
||
static List<RestaurantDetail> getBreakfast() { | ||
return [ | ||
RestaurantDetail( | ||
title: 'Idly(2Pcs) (Breakfast)', | ||
price: 'Rs48', | ||
image: 'assets/images/food1.jpg', | ||
desc: | ||
'A healthy breakfast item and an authentic south indian delicacy! Steamed and fluffy rice cake..more', | ||
), | ||
RestaurantDetail( | ||
title: 'Sambar Idly (2Pcs)', | ||
image: 'assets/images/food2.jpg', | ||
price: 'Rs70', | ||
), | ||
RestaurantDetail( | ||
title: 'Ghee Pongal', | ||
image: 'assets/images/food3.jpg', | ||
price: 'Rs85', | ||
desc: | ||
'Cute, button idlis with authentic. South Indian sambar and coconut chutney gives the per..more', | ||
), | ||
RestaurantDetail( | ||
title: 'Boori (1Set)', | ||
image: 'assets/images/food4.jpg', | ||
price: 'Rs85', | ||
), | ||
RestaurantDetail( | ||
title: 'Podi Idly(2Pcs)', | ||
image: 'assets/images/food5.jpg', | ||
price: 'Rs110', | ||
), | ||
RestaurantDetail( | ||
title: 'Mini Idly with Sambar', | ||
image: 'assets/images/food6.jpg', | ||
price: 'Rs85', | ||
desc: | ||
'Cute, button idlis with authentic. South Indian sambar and coconut chutney gives the per..more', | ||
), | ||
]; | ||
} | ||
|
||
static List<RestaurantDetail> getAllTimeFavFoods() { | ||
return [ | ||
RestaurantDetail( | ||
title: 'Plain Dosa', | ||
price: 'Rs30', | ||
desc: | ||
'A healthy breakfast item and an authentic south indian delicacy!', | ||
), | ||
RestaurantDetail( | ||
title: 'Rava Dosa', | ||
price: 'Rs70', | ||
), | ||
RestaurantDetail( | ||
title: 'Onion Dosa', | ||
price: 'Rs85', | ||
desc: | ||
'Cute, button dosas with authentic. South Indian sambar and coconut chutney gives the per..more', | ||
), | ||
RestaurantDetail( | ||
title: 'Onion Uttapam', | ||
price: 'Rs85', | ||
), | ||
RestaurantDetail( | ||
title: 'Tomato Uttapam', | ||
price: 'Rs110', | ||
), | ||
RestaurantDetail( | ||
title: 'Onion Dosa & Sambar Vadai', | ||
price: 'Rs85', | ||
), | ||
]; | ||
} | ||
|
||
static List<RestaurantDetail> getOtherDishes() { | ||
return [ | ||
RestaurantDetail( | ||
title: 'Kuzhi Paniyaram Karam (4Pcs)', | ||
price: 'Rs70', | ||
), | ||
RestaurantDetail( | ||
title: 'Kuzhi Paniyaram Sweet (4Pcs)', | ||
price: 'Rs70', | ||
), | ||
RestaurantDetail( | ||
title: 'Kuzhi Paniyaram Sweet & Karam (4Pcs)', | ||
price: 'Rs110', | ||
), | ||
RestaurantDetail( | ||
title: 'Ghee Kuzhi Paniyaram', | ||
price: 'Rs85', | ||
), | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
lib/views/swiggy/genie_view.dart → lib/views/swiggy/genie/genie_view.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
lib/views/swiggy/indian_delight_screen.dart → ...gy/indian_food/indian_delight_screen.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
lib/views/swiggy/offer_banner_view.dart → ...iews/swiggy/offers/offer_banner_view.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.