GithubHelp home page GithubHelp logo

dhis2-dart-utils's Introduction

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
    
    • For a flutter project use the command:
    flutter pub add dhis2_dart_utils
    
    • Adding it directly on the pubspec.yaml dependencies and running flutter pug get or dart pub get.
    dependencies:
      dhis2_dart_utils: <version>
    

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

    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
    

    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
    

    Usage

  • How to Import
  • import 'package:dhis2_dart_utils/dhis2_dart_utils.dart';
    

    For more examples, click here!

    dhis2-dart-utils's People

    Contributors

    ericchingalo avatar chingalo avatar tibendadavis avatar allen7702 avatar barakaally avatar

    Stargazers

     avatar

    Watchers

    Ismail Koleleni avatar  avatar

    dhis2-dart-utils's Issues

    Geo input field

    Features:

    • Automatically capture coordinates of the current location
    • Enable/Disable auto assignment of the current location
    • Prevent auto-updating when there is value
    • Modify location
    • View the location on a map

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google โค๏ธ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.