build_metadata 0.0.1 copy "build_metadata: ^0.0.1" to clipboard
build_metadata: ^0.0.1 copied to clipboard

A package to get build metadata using assets transformer

Welcome to build_metadata. This package utilize asset transformer to generate metadata for your project. Therefore there is no platform specific code in this package. This package is intended to be use with build_metadata_transformer

Features #

  • Get build time
  • Get git branch name
  • Get git last commit date
  • Get git last commit hash
  • Get git last commit short hash

Getting started #

Add build_metadata to your pubspec.yaml file

dependencies:
  build_metadata: latest_version

Add build_metadata_transformer to your pubspec.yaml file

dev_dependencies:
  build_metadata_transformer: latest_version

Usage #

Get build time

import 'package:build_metadata/build_metadata.dart';

DateTime buildDate = await BuildMetadata.buildDate;
0
likes
140
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A package to get build metadata using assets transformer

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

async, flutter

More

Packages that depend on build_metadata