dart_square 0.1.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • new40

dart_square2

1.0.0

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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


dependencies:
  dart_square: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:dart_square/dart_square.dart';
  
Version Uploaded Documentation Archive
0.1.0 Nov 15, 2018 Go to the documentation of dart_square 0.1.0 Download dart_square 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
6
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
40
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:dart_square/dart_square.dart.

Health issues and suggestions

Document public APIs (-9.99 points)

690 out of 691 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Format lib/dart_square.dart.

Run dartfmt to format lib/dart_square.dart.

Format lib/shared.dart.

Run dartfmt to format lib/shared.dart.

Format lib/src/applepay/applepay.dart.

Run dartfmt to format lib/src/applepay/applepay.dart.

Fix additional 77 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/applepay/requests/register.dart (Run dartfmt to format lib/src/applepay/requests/register.dart.)
  • lib/src/applepay/requests/requests.dart (Run dartfmt to format lib/src/applepay/requests/requests.dart.)
  • lib/src/applepay/responses/register.dart (Run dartfmt to format lib/src/applepay/responses/register.dart.)
  • lib/src/applepay/responses/responses.dart (Run dartfmt to format lib/src/applepay/responses/responses.dart.)
  • lib/src/auth/auth.dart (Run dartfmt to format lib/src/auth/auth.dart.)
  • lib/src/auth/requests/authorization.dart (Run dartfmt to format lib/src/auth/requests/authorization.dart.)
  • lib/src/auth/requests/requests.dart (Run dartfmt to format lib/src/auth/requests/requests.dart.)
  • lib/src/auth/responses/authorization.dart (Run dartfmt to format lib/src/auth/responses/authorization.dart.)
  • lib/src/auth/responses/responses.dart (Run dartfmt to format lib/src/auth/responses/responses.dart.)
  • lib/src/catalog/catalog.dart (Run dartfmt to format lib/src/catalog/catalog.dart.)
  • lib/src/catalog/models/category.dart (Run dartfmt to format lib/src/catalog/models/category.dart.)
  • lib/src/catalog/models/discount.dart (Run dartfmt to format lib/src/catalog/models/discount.dart.)
  • lib/src/catalog/models/idmapping.dart (Run dartfmt to format lib/src/catalog/models/idmapping.dart.)
  • lib/src/catalog/models/inforesponselimits.dart (Run dartfmt to format lib/src/catalog/models/inforesponselimits.dart.)
  • lib/src/catalog/models/item.dart (Run dartfmt to format lib/src/catalog/models/item.dart.)
  • lib/src/catalog/models/itemvariation.dart (Run dartfmt to format lib/src/catalog/models/itemvariation.dart.)
  • lib/src/catalog/models/models.dart (Run dartfmt to format lib/src/catalog/models/models.dart.)
  • lib/src/catalog/models/modifier.dart (Run dartfmt to format lib/src/catalog/models/modifier.dart.)
  • lib/src/catalog/models/modifierlist.dart (Run dartfmt to format lib/src/catalog/models/modifierlist.dart.)
  • lib/src/catalog/models/object.dart (Run dartfmt to format lib/src/catalog/models/object.dart.)
  • lib/src/catalog/models/objectbatch.dart (Run dartfmt to format lib/src/catalog/models/objectbatch.dart.)
  • lib/src/catalog/models/query.dart (Run dartfmt to format lib/src/catalog/models/query.dart.)
  • lib/src/catalog/models/tax.dart (Run dartfmt to format lib/src/catalog/models/tax.dart.)
  • lib/src/catalog/requests/batchdelete.dart (Run dartfmt to format lib/src/catalog/requests/batchdelete.dart.)
  • lib/src/catalog/requests/batchretrieve.dart (Run dartfmt to format lib/src/catalog/requests/batchretrieve.dart.)
  • lib/src/catalog/requests/batchupsert.dart (Run dartfmt to format lib/src/catalog/requests/batchupsert.dart.)
  • lib/src/catalog/requests/requests.dart (Run dartfmt to format lib/src/catalog/requests/requests.dart.)
  • lib/src/catalog/requests/search.dart (Run dartfmt to format lib/src/catalog/requests/search.dart.)
  • lib/src/catalog/requests/updatemodifiers.dart (Run dartfmt to format lib/src/catalog/requests/updatemodifiers.dart.)
  • lib/src/catalog/requests/updatetaxes.dart (Run dartfmt to format lib/src/catalog/requests/updatetaxes.dart.)
  • lib/src/catalog/requests/upsert.dart (Run dartfmt to format lib/src/catalog/requests/upsert.dart.)
  • lib/src/catalog/responses/batchdelete.dart (Run dartfmt to format lib/src/catalog/responses/batchdelete.dart.)
  • lib/src/catalog/responses/batchretrieve.dart (Run dartfmt to format lib/src/catalog/responses/batchretrieve.dart.)
  • lib/src/catalog/responses/batchupsert.dart (Run dartfmt to format lib/src/catalog/responses/batchupsert.dart.)
  • lib/src/catalog/responses/cataloginfo.dart (Run dartfmt to format lib/src/catalog/responses/cataloginfo.dart.)
  • lib/src/catalog/responses/delete.dart (Run dartfmt to format lib/src/catalog/responses/delete.dart.)
  • lib/src/catalog/responses/list.dart (Run dartfmt to format lib/src/catalog/responses/list.dart.)
  • lib/src/catalog/responses/responses.dart (Run dartfmt to format lib/src/catalog/responses/responses.dart.)
  • lib/src/catalog/responses/retrieve.dart (Run dartfmt to format lib/src/catalog/responses/retrieve.dart.)
  • lib/src/catalog/responses/search.dart (Run dartfmt to format lib/src/catalog/responses/search.dart.)
  • lib/src/catalog/responses/updateitem.dart (Run dartfmt to format lib/src/catalog/responses/updateitem.dart.)
  • lib/src/catalog/responses/upsert.dart (Run dartfmt to format lib/src/catalog/responses/upsert.dart.)
  • lib/src/checkout/checkout.dart (Run dartfmt to format lib/src/checkout/checkout.dart.)
  • lib/src/checkout/requests/create.dart (Run dartfmt to format lib/src/checkout/requests/create.dart.)
  • lib/src/checkout/requests/requests.dart (Run dartfmt to format lib/src/checkout/requests/requests.dart.)
  • lib/src/checkout/responses/create.dart (Run dartfmt to format lib/src/checkout/responses/create.dart.)
  • lib/src/checkout/responses/responses.dart (Run dartfmt to format lib/src/checkout/responses/responses.dart.)
  • lib/src/locations/locations.dart (Run dartfmt to format lib/src/locations/locations.dart.)
  • lib/src/locations/responses/list.dart (Run dartfmt to format lib/src/locations/responses/list.dart.)
  • lib/src/locations/responses/responses.dart (Run dartfmt to format lib/src/locations/responses/responses.dart.)
  • lib/src/orders/orders.dart (Run dartfmt to format lib/src/orders/orders.dart.)
  • lib/src/orders/requests/create.dart (Run dartfmt to format lib/src/orders/requests/create.dart.)
  • lib/src/orders/requests/requests.dart (Run dartfmt to format lib/src/orders/requests/requests.dart.)
  • lib/src/orders/requests/retrieve.dart (Run dartfmt to format lib/src/orders/requests/retrieve.dart.)
  • lib/src/orders/responses/create.dart (Run dartfmt to format lib/src/orders/responses/create.dart.)
  • lib/src/orders/responses/responses.dart (Run dartfmt to format lib/src/orders/responses/responses.dart.)
  • lib/src/orders/responses/retrieve.dart (Run dartfmt to format lib/src/orders/responses/retrieve.dart.)
  • lib/src/reporting/reporting.dart (Run dartfmt to format lib/src/reporting/reporting.dart.)
  • lib/src/reporting/responses/additional_receivables.dart (Run dartfmt to format lib/src/reporting/responses/additional_receivables.dart.)
  • lib/src/reporting/responses/additional_refunds.dart (Run dartfmt to format lib/src/reporting/responses/additional_refunds.dart.)
  • lib/src/reporting/responses/responses.dart (Run dartfmt to format lib/src/reporting/responses/responses.dart.)
  • lib/src/shared/additionalrecipient.dart (Run dartfmt to format lib/src/shared/additionalrecipient.dart.)
  • lib/src/shared/address.dart (Run dartfmt to format lib/src/shared/address.dart.)
  • lib/src/shared/card.dart (Run dartfmt to format lib/src/shared/card.dart.)
  • lib/src/shared/money.dart (Run dartfmt to format lib/src/shared/money.dart.)
  • lib/src/shared/order.dart (Run dartfmt to format lib/src/shared/order.dart.)
  • lib/src/shared/squareerror.dart (Run dartfmt to format lib/src/shared/squareerror.dart.)
  • lib/src/shared/transaction.dart (Run dartfmt to format lib/src/shared/transaction.dart.)
  • lib/src/transactions/requests/charge.dart (Run dartfmt to format lib/src/transactions/requests/charge.dart.)
  • lib/src/transactions/requests/refund.dart (Run dartfmt to format lib/src/transactions/requests/refund.dart.)
  • lib/src/transactions/requests/requests.dart (Run dartfmt to format lib/src/transactions/requests/requests.dart.)
  • lib/src/transactions/responses/capture.dart (Run dartfmt to format lib/src/transactions/responses/capture.dart.)
  • lib/src/transactions/responses/charge.dart (Run dartfmt to format lib/src/transactions/responses/charge.dart.)
  • lib/src/transactions/responses/refund.dart (Run dartfmt to format lib/src/transactions/responses/refund.dart.)
  • lib/src/transactions/responses/responses.dart (Run dartfmt to format lib/src/transactions/responses/responses.dart.)
  • lib/src/transactions/responses/transaction.dart (Run dartfmt to format lib/src/transactions/responses/transaction.dart.)
  • lib/src/transactions/transactions.dart (Run dartfmt to format lib/src/transactions/transactions.dart.)

Maintenance issues and suggestions

Homepage does not exists. (-20 points)

We were unable to access https://www.github.com/ctartamella/dart_square at the time of the analysis.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use dart_square.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
http ^0.12.0 0.12.0
json_annotation ^2.0.0 2.0.0
reflutter ^0.4.5 0.4.5 0.5.2
Transitive dependencies
analyzer 0.32.6 0.34.0
args 1.5.1
async 2.0.8
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
csslib 0.14.6
front_end 0.1.4+2 0.1.7
glob 1.1.7
html 0.13.3+3
http_parser 3.1.3
kernel 0.3.4+2 0.3.7
logging 0.11.3+2
meta 1.1.6
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
build_runner ^1.1.1
json_serializable ^2.0.0
reflutter_generator ^0.4.5