gitea 0.1.0

  • Example
  • Installing
  • Versions
  • new46

Gitea for Dart

Runtime Release License Coverage Build

Gitea client library, in Dart.




Gitea for Dart is distributed under the MIT License.


Version 0.1.0

  • Initial release.


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

/// Handles the payload of a Gitea push event.
Future<PushEvent> main() async => null;

Use this package as a library

1. Depend on it

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

  gitea: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:gitea/gitea.dart';
Version Uploaded Documentation Archive
0.1.0 Nov 21, 2018 Go to the documentation of gitea 0.1.0 Download gitea 0.1.0 archive
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 Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:gitea/gitea.dart.

Health suggestions

Format lib/src/models/payload_commit.dart.

Run dartfmt to format lib/src/models/payload_commit.dart.

Format lib/src/models/payload_commit_verification.dart.

Run dartfmt to format lib/src/models/payload_commit_verification.dart.

Format lib/src/models/payload_user.dart.

Run dartfmt to format lib/src/models/payload_user.dart.

Fix additional 8 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/models/permission.dart (Run dartfmt to format lib/src/models/permission.dart.)
  • lib/src/models/repository.dart (Run dartfmt to format lib/src/models/repository.dart.)
  • lib/src/models/server_version.dart (Run dartfmt to format lib/src/models/server_version.dart.)
  • lib/src/models/status_state.dart (Run dartfmt to format lib/src/models/status_state.dart.)
  • lib/src/models/team.dart (Run dartfmt to format lib/src/models/team.dart.)
  • lib/src/models/team_permission.dart (Run dartfmt to format lib/src/models/team_permission.dart.)
  • lib/src/models/user.dart (Run dartfmt to format lib/src/models/user.dart.)
  • lib/src/push_event.dart (Run dartfmt to format lib/src/push_event.dart.)

Maintenance suggestions

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
json_annotation ^2.0.0 2.0.0
Dev dependencies
build_runner ^1.1.2
build_test ^0.10.3
build_web_compilers ^0.4.4
coverage ^0.12.2
grinder ^0.8.3
json_serializable ^2.0.0
test ^1.5.1