core_mvc 0.1.1

  • Installing
  • Versions
  • 28

1. Depend on it

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


dependencies:
  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

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 16, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
86 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
8 / 100
Overall score:
Weighted score of the above. [more]
28

Platforms

Detected platforms: other

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

Suggestions

  • Fix lib/src/action_result/result_context.dart.

    Strong-mode analysis of lib/src/action_result/result_context.dart failed with the following error:

    line: 24 col: 35
    The redirected constructor '({httpContext: dynamic, statusCode: int, contentType: ContentType}) → _DefaultResultContext' has incompatible parameters with '({httpContext: HttpContext, statusCode: int, contentType: ContentType}) → ResultContext'.

  • Fix lib/src/type/enum.dart.

    Strong-mode analysis of lib/src/type/enum.dart failed with the following error:

    line: 106 col: 3
    Invalid override. The type of 'Enum.==' ('(Enum<dynamic>) → bool') isn't a subtype of 'Object.==' ('(dynamic) → bool').

  • Fix further 6 Dart files.

    Similar analysis of the following files failed:

    • lib/src/application/application.dart
    • lib/src/application/default_application.dart
    • lib/src/logger/tty_logger.dart
    • lib/src/logger/json_logger.dart
    • lib/src/router/route.dart
    • lib/router.dart
  • Maintain CHANGELOG.md.

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

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 3 error(s) and 0 warning(s).

  • Maintain README.md.

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

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

Dependencies

Package Constraint Resolved Available
Dev dependencies
mockito any
test any