numerics_json_client 0.1.0

Numerics JSON Client #

Numerics JSON Client is a simple library that download and format data in the Numerics Widget Data Specification from a remote url.

Usage #

A simple usage example:

import 'package:numerics_json_client/numerics_json_client.dart';

main() {
  var numericsClient = new NumericsKPIClient();
  var sampleKPI = await numericsClient.getNumberFromUrl("https://my-url/my-path");

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0.1.0 #

  • Initial version, support for Number from JSON data.


import 'package:numerics_json_client/numerics_json_client.dart';
import 'dart:async';

main() async {
  var numericsClient = new NumericsKPIClient();

  var kpiURL =

  final sampleKPI = await numericsClient.getNumberFromUrl(kpiURL);

  print('${sampleKPI.postfix}: ${sampleKPI.value}');

Use this package as a library

1. Depend on it

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

  numerics_json_client: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or 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:numerics_json_client/numerics_json_client.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.7.1
  • pana: 0.13.5

Maintenance suggestions

Package is getting outdated. (-4.66 points)

The package was last published 54 weeks ago.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
http ^0.12.0+1 0.12.0+4
Transitive dependencies
async 2.4.0
charcode 1.1.3
collection 1.14.12
http_parser 3.1.3
meta 1.1.8
path 1.6.4
pedantic 1.9.0
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
test ^1.0.0