shop 1.0.0+1


Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  shop: ^1.0.0+1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:shop/admin/add_products.dart';
import 'package:shop/admin/admin_home.dart';
import 'package:shop/admin/app_messages.dart';
import 'package:shop/admin/app_orders.dart';
import 'package:shop/admin/app_products.dart';
import 'package:shop/admin/app_users.dart';
import 'package:shop/admin/order_history.dart';
import 'package:shop/admin/privilages.dart';
import 'package:shop/admin/search_data.dart';
import 'package:shop/base/app_methods.dart';
import 'package:shop/locale/translate_preferences.dart';
import 'package:shop/main.dart';
import 'package:shop/repository/firebase_methods.dart';
import 'package:shop/tools/app_data.dart';
import 'package:shop/tools/app_tools.dart';
import 'package:shop/tools/progress_dialog.dart';
import 'package:shop/tools/store.dart';
import 'package:shop/user/about_us.dart';
import 'package:shop/user/app_main.dart';
import 'package:shop/user/cart.dart';
import 'package:shop/user/delivery.dart';
import 'package:shop/user/favorites.dart';
import 'package:shop/user/history.dart';
import 'package:shop/user/item_details.dart';
import 'package:shop/user/login.dart';
import 'package:shop/user/messages.dart';
import 'package:shop/user/notifications.dart';
import 'package:shop/user/profile.dart';
import 'package:shop/user/signup.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Apr 2, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Health suggestions

Fix lib/tools/app_tools.dart. (-1.99 points)

Analysis of lib/tools/app_tools.dart reported 4 hints:

line 15 col 45: Avoid using unnecessary statements.

line 16 col 38: Avoid using unnecessary statements.

line 156 col 8: Name non-constant identifiers using lowerCamelCase.

line 240 col 8: Name non-constant identifiers using lowerCamelCase.

Fix lib/user/item_details.dart. (-0.50 points)

Analysis of lib/user/item_details.dart reported 1 hint:

line 6 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: ItemDetail.itemName, ItemDetail.itemImage, ItemDetail.itemSubName, ItemDetail.itemPrice, ItemDetail.itemRating

Format lib/admin/add_products.dart.

Run flutter format to format lib/admin/add_products.dart.

Fix additional 21 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/admin/admin_home.dart (Run flutter format to format lib/admin/admin_home.dart.)
  • lib/admin/app_messages.dart (Run flutter format to format lib/admin/app_messages.dart.)
  • lib/admin/app_orders.dart (Run flutter format to format lib/admin/app_orders.dart.)
  • lib/admin/app_products.dart (Run flutter format to format lib/admin/app_products.dart.)
  • lib/admin/app_users.dart (Run flutter format to format lib/admin/app_users.dart.)
  • lib/admin/order_history.dart (Run flutter format to format lib/admin/order_history.dart.)
  • lib/admin/privilages.dart (Run flutter format to format lib/admin/privilages.dart.)
  • lib/admin/search_data.dart (Run flutter format to format lib/admin/search_data.dart.)
  • lib/locale/translate_preferences.dart (Run flutter format to format lib/locale/translate_preferences.dart.)
  • lib/main.dart (Run flutter format to format lib/main.dart.)
  • lib/user/about_us.dart (Run flutter format to format lib/user/about_us.dart.)
  • lib/user/app_main.dart (Run flutter format to format lib/user/app_main.dart.)
  • lib/user/cart.dart (Run flutter format to format lib/user/cart.dart.)
  • lib/user/delivery.dart (Run flutter format to format lib/user/delivery.dart.)
  • lib/user/favorites.dart (Run flutter format to format lib/user/favorites.dart.)
  • lib/user/history.dart (Run flutter format to format lib/user/history.dart.)
  • lib/user/login.dart (Run flutter format to format lib/user/login.dart.)
  • lib/user/messages.dart (Run flutter format to format lib/user/messages.dart.)
  • lib/user/notifications.dart (Run flutter format to format lib/user/notifications.dart.)
  • lib/user/profile.dart (Run flutter format to format lib/user/profile.dart.)
  • lib/user/signup.dart (Run flutter format to format lib/user/signup.dart.)

Maintenance issues and suggestions

Provide a file named (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and shop.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
cloud_firestore ^0.13.4 0.13.4+2
cupertino_icons ^0.1.2 0.1.3
firebase_analytics ^5.0.2 5.0.11
firebase_auth ^0.15.2+2 0.15.5+3
firebase_core ^0.4.0+9 0.4.4+3
firebase_crashlytics ^0.1.3 0.1.3+3
firebase_database ^3.1.3 3.1.3
firebase_remote_config ^0.3.0 0.3.0+3
firebase_storage ^3.1.3 3.1.5
flutter 0.0.0
flutter_localizations 0.0.0
flutter_translate ^1.5.7 1.6.0
image_picker ^0.6.3 0.6.4
shared_preferences ^0.5.6 0.5.6+3
Transitive dependencies
async 2.4.1
charcode 1.1.3
cloud_firestore_platform_interface 1.1.0
cloud_firestore_web 0.1.1+2
collection 1.14.11 1.14.12
firebase 7.2.1
firebase_auth_platform_interface 1.1.7
firebase_auth_web 0.1.2
firebase_core_platform_interface 1.0.4
firebase_core_web 0.1.1+2
flutter_device_locale 0.4.0
flutter_plugin_android_lifecycle 1.0.6
flutter_web_plugins 0.0.0
http 0.12.0+4
http_parser 3.1.4
intl 0.16.0 0.16.1
js 0.6.1+1
matcher 0.12.6
meta 1.1.8
path 1.6.4
pedantic 1.9.0
plugin_platform_interface 1.0.2
quiver 2.1.3
shared_preferences_macos 0.0.1+6
shared_preferences_platform_interface 1.0.3
shared_preferences_web 0.1.2+4
sky_engine 0.0.99
source_span 1.7.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies