core_mvc 0.1.1

  • Installing
  • Versions
  • 1

Use this package as a library

1. Depend on it

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

  core_mvc: ^0.1.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:core_mvc/core_mvc.dart';
Version Uploaded Documentation Archive
0.1.1 Apr 5, 2016 Go to the documentation of core_mvc 0.1.1 Download core_mvc 0.1.1 archive
0.1.0 Mar 8, 2016 Go to the documentation of core_mvc 0.1.0 Download core_mvc 0.1.0 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 Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.11.8


Detected platforms: other

Primary library: package:core_mvc/core_mvc.dart with components: io, mirrors.

Issues and suggestions

Fix lib/router.dart.

Analysis of lib/router.dart failed with 4 errors, 4 hints, including:

line 23 col 52: The method 'isSubclassOf' isn't defined for the class 'DeclarationMirror'.

line 27 col 43: The getter 'instanceMembers' isn't defined for the class 'DeclarationMirror'.

line 39 col 10: The return type 'List' isn't a 'Iterable<Route>', as defined by the method '_getLibraryRoutes'.

line 49 col 39: The return type 'Symbol' isn't a 'LibraryMirror', as defined by anonymous closure.

line 4 col 34: The name Stream is shown, but not used.

Fix lib/src/logger/json_logger.dart.

Analysis of lib/src/logger/json_logger.dart failed with 3 errors:

line 11 col 9: super call must be last in an initializer list (see 'super(level: level, group: group)'.

line 19 col 17: Undefined name 'JSON'.

line 31 col 18: Undefined name 'JSON'.


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

Add SDK constraint in pubspec.yaml.

For information about setting SDK constraint, please see


Readme should inform others about your project, what it does, and how they can use it.

Package is too old.

The package was released more than two years ago.

Fix additional 20 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/logger/tty_logger.dart (1 error)
  • lib/src/application/default_application.dart (1 error, 5 hints)
  • lib/src/type/enum.dart (1 error, 1 hint)
  • lib/src/router/route.dart (1 error, 1 hint)
  • lib/src/action_result/json_result.dart (1 error)
  • lib/logger.dart (3 hints)
  • lib/src/http/http_verb.dart (2 hints)
  • lib/action_result.dart (1 hint)
  • lib/application.dart (Run dartfmt to format lib/application.dart.)
  • lib/core_mvc.dart (1 hint)
  • lib/metadata.dart (Run dartfmt to format lib/metadata.dart.)
  • lib/src/action_filter/action_filter.dart (Run dartfmt to format lib/src/action_filter/action_filter.dart.)
  • lib/src/action_filter/authentication_filter.dart (Run dartfmt to format lib/src/action_filter/authentication_filter.dart.)
  • lib/src/action_filter/authorization_filter.dart (Run dartfmt to format lib/src/action_filter/authorization_filter.dart.)
  • lib/src/action_filter/exceptions.dart (Run dartfmt to format lib/src/action_filter/exceptions.dart.)
  • lib/src/action_filter/filter_context.dart (Run dartfmt to format lib/src/action_filter/filter_context.dart.)
  • lib/src/action_result/action_result.dart (Run dartfmt to format lib/src/action_result/action_result.dart.)
  • lib/src/action_result/result_context.dart (Run dartfmt to format lib/src/action_result/result_context.dart.)
  • lib/src/action_result/string_result.dart (Run dartfmt to format lib/src/action_result/string_result.dart.)
  • lib/src/router/router.dart (1 hint)

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.

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 of the 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 core_mvc.dart.


Package Constraint Resolved Available
Dev dependencies
mockito any
test any