gigantier_sdk 1.0.11

  • Readme
  • Changelog
  • Installing
  • 62

Gigantier Flutter #

SDK to connect your Flutter app to Giganter API.

API reference

Installation #

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

  gigantier_sdk: ^1.0.10

Then install the package with pub get or flutter pub get.

Usage #

To get started, instantiate a new Gigantier client with your credentials.

Note: This requires a Gigantier account.

import 'package:gigantier_sdk/gigantier.dart';


final client = Gigantier(

Check out the API reference to learn more about authenticating and the available endpoints.

Contributing #

Thank you for considering contributing to Gigantier Flutter SDK.

[1.0.0] Initial release [1.0.1] Fix blocking error [1.0.2] Default http.Client() in case no client by parameter [1.0.3] More on: Default http.Client() in case no client by parameter [1.0.4] Bugfix grant type in token api call [1.0.5] call() and authenticatedCall() now with optional http method parameter [1.0.6] Bugfix blocker error at _execMethod + fix user refresh token functional test [1.0.7] Bugfix blocker error at _execMethod [1.0.8] Rollback _onResponse() method after _execMethod() [1.0.9] call() and authenticatedCall() with headers params [1.0.10] fix call/authenticatedCall header parametrization [1.0.11] fix delete and get method. Missing access_token in query string

Use this package as a library

1. Depend on it

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

  gigantier_sdk: ^1.0.11

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support 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:gigantier_sdk/auth/credential.dart';
import 'package:gigantier_sdk/exceptions.dart';
import 'package:gigantier_sdk/gigantier.dart';
import 'package:gigantier_sdk/preferences.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 Oct 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

72 out of 72 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Format lib/auth/credential.dart.

Run flutter format to format lib/auth/credential.dart.

Format lib/preferences.dart.

Run flutter format to format lib/preferences.dart.

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and gigantier_sdk.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
http ^0.12.0+2 0.12.0+2
shared_preferences ^0.5.3+1 0.5.3+5
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.11 1.14.12
http_parser 3.1.3
meta 1.1.7
path 1.6.4
pedantic 1.8.0+1
sky_engine 0.0.99
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
mockito ^4.1.0