dhis2_dart_utils 1.1.26 copy "dhis2_dart_utils: ^1.1.26" to clipboard
dhis2_dart_utils: ^1.1.26 copied to clipboard

A collection of data models, constants and utilities used to build a DHIS2 app in dart.

DHIS2 DART UTILITIES

A collection of data models, constants and utility functions used to build a DHIS2 app in dart.

Contents: #

Features #

This util library offers the following features:

  • Generator function for DHIS2 uid.
  • Utilities, data models and constants for DHIS2 periods.
  • DHIS2 Program indicator engine.
  • DHIS2 Program rule engine.
  • DHIS2 Program HTTP service.

Getting Started #

  • Package Installation
  • #

    The package can be installed using following alternatives:

    • For a dart project use the command:
    dart pub add dhis2_dart_utils
    
    copied to clipboard
    • For a flutter project use the command:
    flutter pub add dhis2_dart_utils
    
    copied to clipboard
    • Adding it directly on the pubspec.yaml dependencies and running flutter pug get or dart pub get.
    dependencies:
      dhis2_dart_utils: <version>
    
    copied to clipboard

  • Testing and Development
  • #

    These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

     git clone <github_repository_url>
    
    copied to clipboard

    After getting a copy of the project source code, the following command will download all the project dependencies ready for testing, running and deploying the package

     cd <repository_name>
    
     dart pub get
    
    copied to clipboard

    Examples can be run from the examples folder using the dart run commands.

    Tests can be run on the project folder by the command

    dart test
    
    copied to clipboard

    Usage #

  • How to Import
  • #

    import 'package:dhis2_dart_utils/dhis2_dart_utils.dart';
    
    copied to clipboard

    For more examples, click here!

    5
    likes
    150
    points
    162
    downloads

    Publisher

    unverified uploader

    Weekly Downloads

    2024.09.16 - 2025.03.31

    A collection of data models, constants and utilities used to build a DHIS2 app in dart.

    Repository (GitHub)

    Documentation

    API reference

    License

    BSD-3-Clause (license)

    Dependencies

    collection, dart_date, http

    More

    Packages that depend on dhis2_dart_utils