scorm 1.0.0 copy "scorm: ^1.0.0" to clipboard
scorm: ^1.0.0 copied to clipboard

Platformweb

A simple package which lets you conveniently consume SCORM 1.2/2004 APIs in your dart/flutter web app. Also handles finding of the SCORM 'API' object in the view hierarchy

scorm #

Pub Flutter Demo

A simple package which lets you conveniently consume SCORM 1.2/20004 APIs in your dart/flutter web app. Also handles finding of the SCORM 'API' object in the current or opener's view hierarchy.

This opens a new scope for Dart/Flutter Web: Beautiful, interactive course content creation

Installation #

Refer here

Getting Started #

  1. import package:scorm/scorm.dart;
  2. Before doing anything, you need to first find the SCORM API using ScormAPI.findApi, returns status whether SCORM API was found.
  3. If the API is not found, other methods will return false/null
  4. Use other methods like initialize, setValue, getValue, commit, finish, etc. according to your needs.
  5. BONUS: Utility methods for SCORM

Example #

The example app is deployed at https://scorm-dart.web.app

A complete example to run a Flutter web app as a SCORM package can be found in the example folder

To test it in LMS platforms, just build release version of the example app and create a zip file of the example/build/web folder.

See example/web/imsmanifest.xml for the resources declaration.

TLDR #

References #

Official SCORM Docs

Create SCORM Package from scratch

License #


Copyright 2021 Shripal Jain

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
6
likes
120
pub points
43%
popularity

Publisher

unverified uploader

A simple package which lets you conveniently consume SCORM 1.2/2004 APIs in your dart/flutter web app. Also handles finding of the SCORM 'API' object in the view hierarchy

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

js

More

Packages that depend on scorm