drag_drop 1.0.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 58

travis build

Drag Drop library for Dart-driven apps

Designed to utilize HTML5 Drag and Drop API, it supports all major and modern browsers.

Due to nature of the underlying API, it's possible to implement system-wide drag'n'drop interactions.

It also provides ability to manage scroll-on-drag process.

Changelog

1.0.0

  • Initial version

Use this package as a library

1. Depend on it

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


dependencies:
  drag_drop: "^1.0.0"

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:drag_drop/drag_drop.dart';
  
Version Uploaded Documentation Archive
1.0.0 Dec 4, 2017 Go to the documentation of drag_drop 1.0.0 Download drag_drop 1.0.0 archive

Analysis

We analyzed this package on Jul 13, 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

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
17 / 100
Health:
Code health derived from static analysis. [more]
98 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
99 / 100
Overall score:
Weighted score of the above. [more]
58
Learn more about scoring.

Platforms

Detected platforms: web

Primary library: package:drag_drop/drag_drop.dart with components: html, js.

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 44 hints.

    Run dartfmt to format lib/src/drag_drop/drag_drop_container.dart.

    Run dartfmt to format lib/src/drag_drop/drag_drop_manager.dart.

    Similar analysis of the following files failed:

    • lib/src/drag_drop/drag_drop_manager_factory.dart (hint)
    • lib/src/drag_drop/drag_drop_manager_impl.dart (hint)
    • lib/src/drag_drop/drag_drop_state.dart (hint)
    • lib/src/drag_drop/drag_ghost_container.dart (hint)
    • lib/src/drag_drop/drag_source.dart (hint)
    • lib/src/drag_drop/drop_target.dart (hint)
    • lib/src/drag_drop/element_manager.dart (hint)
    • lib/src/drag_drop/element_manager_factory.dart (hint)
    • lib/src/drag_drop/element_manager_impl.dart (hint)
    • lib/src/drag_drop/element_options_reference.dart (hint)
    • lib/src/drag_drop/event_manager.dart (hint)
    • lib/src/drag_drop/event_manager_factory.dart (hint)
    • lib/src/drag_drop/event_manager_impl.dart (hint)
    • lib/src/drag_drop/event_queue.dart (hint)
    • lib/src/drag_drop/events.dart (hint)
    • lib/src/drag_drop/factories.dart (hint)
    • lib/src/drag_drop/model_storage.dart (hint)
    • lib/src/drag_drop/options/base_options.dart (hint)
    • lib/src/drag_drop/options/drag_options.dart (hint)
    • lib/src/drag_drop/options/drop_options.dart (hint)
    • lib/src/drag_drop/options/ghost_options.dart (hint)
    • lib/src/drag_drop/options/spring_options.dart (hint)
    • lib/src/drag_drop/reference_manager.dart (hint)
    • lib/src/drag_drop/reference_manager_factory.dart (hint)
    • lib/src/drag_drop/reference_manager_impl.dart (hint)
    • lib/src/drag_drop/responsive_stream_manager.dart (hint)
    • lib/src/drag_drop/simple_data.dart (hint)
    • lib/src/drag_drop/subscription.dart (hint)
    • lib/src/drag_drop/subscription_factory.dart (hint)
    • lib/src/movement/details.dart (hint)
    • lib/src/movement/direction.dart (hint)
    • lib/src/movement/direction_type.dart (hint)
    • lib/src/movement/factories.dart (hint)
    • lib/src/movement/manager.dart (hint)
    • lib/src/scroll/ability.dart (hint)
    • lib/src/scroll/container.dart (hint)
    • lib/src/scroll/factories.dart (hint)
    • lib/src/scroll/manager.dart (hint)
    • lib/src/scroll/options.dart (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.

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

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.24.1 <2.0.0
built_collection ^1.5.0 1.6.2 3.1.1
built_value ^2.1.0 2.1.0 5.5.3
js ^0.6.1 0.6.1
quiver ^0.23.0 0.23.0 0.29.0+1
throttle_debounce ^0.1.2 0.1.2+1
user_environment ^1.0.0 1.0.1
Transitive dependencies
browser_detect 1.0.4
collection 1.14.10
matcher 0.12.3
path 1.6.1
stack_trace 1.9.2
Dev dependencies
analyzer ^0.29.0
browser ^0.10.0
dart_dev any
dart_style any
mockito ^1.0.0
test 0.12.22