dart_repl_sandbox 0.11.1

  • README.md
  • Installing
  • Versions
  • 41

Sandbox virtual package

The code in sandbox/ is used in the sandbox isolate. It is set up as a package with no dependencies. Do not import anything outside of sandbox/ from this directory. You can only use relative import paths.

Use this package as a library

1. Depend on it

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

  dart_repl_sandbox: "^0.11.1"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

      import 'package:dart_repl_sandbox/cell.dart';

      import 'package:dart_repl_sandbox/cell_environment.dart';

      import 'package:dart_repl_sandbox/data_queue.dart';

      import 'package:dart_repl_sandbox/isolate_messages.dart';

      import 'package:dart_repl_sandbox/message_channel.dart';

      import 'package:dart_repl_sandbox/message_converter.dart';

      import 'package:dart_repl_sandbox/message_queue.dart';

      import 'package:dart_repl_sandbox/scope.dart';
Version Uploaded Documentation Archive
0.11.1 Apr 19, 2017 Go to the documentation of dart_repl_sandbox 0.11.1 Download dart_repl_sandbox 0.11.1 archive


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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
96 / 100
Reflects how tidy and up-to-date the package is. [more]
60 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: other

Platform components identified in package: isolate, mirrors.


  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Homepage does not exists.

    We were unable to access https://blog.blackhc.net at the time of the analysis.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 error 2 hints.

    Strong-mode analysis of lib/message_channel.dart failed with the following error:

    line: 43 col: 12
    Couldn't infer type parameter 'T'.\n\nTried to infer 'Message<dynamic>' for 'T' which doesn't work:\n Type parameter 'T' declared to extend 'Message<Message<dynamic>>'.\nThe type 'Message<dynamic>' was inferred from:\n Parameter 'object' declared as 'T'\n but argument is 'Message<dynamic>'.\n\nConsider passing explicit type argument(s) to the generic.\n\n

    Run dartfmt to format lib/builtin_commands/api.dart.

    Similar analysis of the following files failed:

    • lib/scope.dart (hint)
  • Package is getting outdated.

    The package was released 60 weeks ago.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • 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 dart_repl_sandbox.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
Dev dependencies
test >=0.12.0 <0.13.0