jaguar_example_session 2.1.1

  • Installing
  • Versions
  • new46


Example showcasing simplicity of using Sessions in Jaguar


This project implements a sample shopping cart application that stores the items in the shopping cart as session data.

The HTML page at route / provides a GUI to interactively add and remove items to the cart.

The API route /api/add/:item adds an item to the cart, while the API route /api/remove/:item removes the item from the cart.



  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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

  jaguar_example_session: ^2.1.1

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.

Version Uploaded Documentation Archive
2.1.1 Jul 10, 2018 Go to the documentation of jaguar_example_session 2.1.1 Download jaguar_example_session 2.1.1 archive
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 Jul 17, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.66.0
  • pana: 0.11.7


Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see

The description is too short.

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.

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 jaguar_example_session.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.55.0 <2.0.0
jaguar ^2.1.10 2.1.28
stencil ^2.1.5 2.1.5
Transitive dependencies
auth_header 0.0.3
charcode 1.1.2
collection 1.14.10
convert 2.0.1
crypto 2.0.6
http_server 0.9.8
jaguar_common 0.2.2
logging 0.11.3+1
mime 0.9.6+1
path 1.6.1
stack_trace 1.9.2
typed_data 1.1.5