-
Notifications
You must be signed in to change notification settings - Fork 208
Description
Describe the bug
Keep getting wishtlist_item_list.dart error
Keep getting error while running flutter run:
lib/screens/wishList/utils/index.dart:13:1: Error: Error when reading 'lib/screens/wishList/view/widget/wishlist_item_list.dart': No such file or directory
export 'package:bagisto_app_demo/screens/wishList/view/widget/wishlist_item_list.dart';
^
lib/screens/wishList/view/wishlist_screen.dart:239:11: Error: The method 'WishlistItemList' isn't defined for the class '_WishListScreenState'.
- '_WishListScreenState' is from 'package:bagisto_app_demo/screens/wishList/view/wishlist_screen.dart' ('lib/screens/wishList/view/wishlist_screen.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WishlistItemList'.
? WishlistItemList(
^^^^^^^^^^^^^^^^
Waiting for connection from debug service on Chrome... 62.9s
Failed to compile application.
art@art-Aspire-A324-51:~/Desktop/opensource-ecommerce-mobile-app$
To Reproduce
Steps to reproduce the behavior:
- Clone the Bagisto Flutter app repo.
- Install all dependencies as per the documentation
3.Run the app using flutter run. - Observe the compilation error related to missing wishlist_item_list.dart.
Expected behavior
The app should compile successfully and load the Wishlist screen without any missing file or undefined widget error.
Screenshots
Add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
Additional context
Add any other context about the problem here.