masamune_core 0.2.12+1

  • Readme
  • Changelog
  • Example
  • Installing
  • 71

Masamune framework #

Library that provides the core part of the Masamune framework. It provides Path map, data management, task management and utility.

Version Language License: BSD

Getting Started #

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

dependencies:
  masamune_core: ^0.1.0

You should then run flutter packages upgrade.

Usage #

import 'package:masamune_core/masamune_core.dart';

Example #

Use PageRouteBuilder Widget

Under construction

Test #

run test

flutter test

License #

BSD

[0.2.12] - Update README (2020.06.30) #

  • Added asset interface.

[0.2.11] - Update README (2020.06.16) #

  • Fixed a bug that CSV cannot be analyzed by line feed code.

[0.2.10] - Update README (2020.06.16) #

  • Change the behavior of notifyUpdate.

[0.2.9] - Update README (2020.06.12) #

  • Separated Task into abstract class TaskUnit.
  • Changed not to predefine required methods in abstract class.

[0.2.8] - Update README (2020.06.09) #

  • Moved the mobile part function to masamune_mobile.

[0.2.7] - Update README (2020.06.03) #

  • Bug fix.

[0.2.6] - Update README (2020.05.19) #

  • Added http package.

[0.2.5] - Update README (2020.05.19) #

  • Web compatible.

[0.2.3] - Update README (2020.05.15) #

  • Add ConfigField / LocalDocument.

[0.2.0] - Update README (2020.05.03) #

  • Add Temporary data class.
  • Add Const data.
  • Add Multi collection.

[0.1.5] - Update README (2020.04.20) #

  • Add Const.time.

[0.1.4] - Update README (2020.04.20) #

  • Specification change of IDataDocument.
  • Add Log.ast.

[0.1.3] - Update README (2020.04.15) #

  • Change Dependency.

[0.1.2] - Update README (2020.04.15) #

  • Implement timeout process.

[0.1.1] - Update README (2020.04.14) #

  • Change package name.

[0.1.0] - Update README (2020.04.14) #

  • The first release.

example/main.dart

import 'package:masamune_core/masamune_core.dart';

void main() async {
  await Config.init();
  DataField("name", "mathru");
  String name = PathMap.get<String>("name");
  print(name);
}

Use this package as a library

1. Depend on it

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


dependencies:
  masamune_core: ^0.2.12+1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:masamune_core/masamune_core.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
46
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
71
Learn more about scoring.

We analyzed this package on Jul 3, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13
  • Flutter: 1.17.5

Analysis suggestions

Package does not support Flutter platform android

Because of import path [package:masamune_core/masamune_core.dart, package:masamune_core/local/local.dart, package:masamune_core/path/path.dart, package:masamune_core/interface/interface.dart, package:masamune_core/dartcore/dartcore.dart, package:path_provider/path_provider.dart, package:path_provider_linux/path_provider_linux.dart] that declares support for platforms: linux

Package does not support Flutter platform ios

Because of import path [package:masamune_core/masamune_core.dart, package:masamune_core/local/local.dart, package:masamune_core/path/path.dart, package:masamune_core/interface/interface.dart, package:masamune_core/dartcore/dartcore.dart, package:path_provider/path_provider.dart, package:path_provider_linux/path_provider_linux.dart] that declares support for platforms: linux

Package does not support Flutter platform linux

Because of import path [package:masamune_core/masamune_core.dart, package:masamune_core/local/local.dart, package:masamune_core/path/path.dart, package:masamune_core/interface/interface.dart, package:masamune_core/dartcore/dartcore.dart, package:url_launcher/url_launcher.dart] that declares support for platforms: android, ios, macos, web

Package does not support Flutter platform macos

Because of import path [package:masamune_core/masamune_core.dart, package:masamune_core/local/local.dart, package:masamune_core/path/path.dart, package:masamune_core/interface/interface.dart, package:masamune_core/dartcore/dartcore.dart, package:path_provider/path_provider.dart, package:path_provider_linux/path_provider_linux.dart] that declares support for platforms: linux

Package does not support Flutter platform web

Because of import path [package:masamune_core/masamune_core.dart, package:masamune_core/local/local.dart, package:masamune_core/path/path.dart, package:masamune_core/interface/interface.dart, package:masamune_core/dartcore/dartcore.dart, package:path_provider/path_provider.dart] that declares support for platforms: android, ios, linux, macos

Package does not support Flutter platform windows

Because of import path [package:masamune_core/masamune_core.dart, package:masamune_core/local/local.dart, package:masamune_core/path/path.dart, package:masamune_core/interface/interface.dart, package:masamune_core/dartcore/dartcore.dart, package:url_launcher/url_launcher.dart] that declares support for platforms: android, ios, macos, web

Package not compatible with SDK dart

because of import path [masamune_core] that is in a package requiring null.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (shared_preferences).

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
crypto ^2.1.3 2.1.5
csv ^4.0.3 4.0.3
flutter 0.0.0
http ^0.12.1 0.12.1
intl ^0.16.1 0.16.1
masamune_localize ^0.2.0 0.2.6
path_provider ^1.6.11 1.6.11
shared_preferences 0.5.6+3 0.5.6+3 0.5.7+3
sprintf ^4.0.0 4.0.2
stack_trace ^1.9.3 1.9.5
url_launcher ^5.4.7 5.4.11
uuid ^2.0.4 2.2.0
Transitive dependencies
charcode 1.1.3
collection 1.14.12 1.14.13
convert 2.1.1
file 5.2.1
flutter_device_locale 0.4.0
flutter_web_plugins 0.0.0
http_parser 3.1.4
meta 1.1.8
path 1.7.0
path_provider_linux 0.0.1+2
path_provider_macos 0.0.4+3
path_provider_platform_interface 1.0.2
pedantic 1.9.0 1.9.1
platform 2.2.1
platform_detect 1.4.0
plugin_platform_interface 1.0.2
process 3.0.13
pub_semver 1.4.4
shared_preferences_macos 0.0.1+10
shared_preferences_platform_interface 1.0.4
shared_preferences_web 0.1.2+7
sky_engine 0.0.99
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6 1.2.0
url_launcher_macos 0.0.1+7
url_launcher_platform_interface 1.0.7
url_launcher_web 0.1.2
vector_math 2.0.8
xdg_directories 0.1.0
Dev dependencies
flutter_test
masamune_test ^0.1.0