graviton_utils_package 0.0.3 copy "graviton_utils_package: ^0.0.3" to clipboard
graviton_utils_package: ^0.0.3 copied to clipboard

PlatformAndroid

A package which supports multiple features like fetching location, rotating image.

Graviton Utils #

Graviton Utils is a Flutter package developed by Kugelblitz Pvt. Ltd. that provides utility functions specifically for Android devices. It includes features like image rotation at different angles and location fetching. The native side of this package is entirely written in Kotlin.

Features #

  • Image Rotation: Rotate images at various angles seamlessly.
  • Location Fetching: Retrieve the device's current location efficiently.

Platform Support #

This package supports Android only.

Installation #

Add the following dependency in your pubspec.yaml:

dependencies:
  graviton_utils_package: latest_version

Then, run:

flutter pub get

Usage #

Import the package #

import 'package:graviton_utils_package/graviton_utils_package.dart';

Rotate an Image #

// Result will be Image Bytes.
dynamic rotatedImage = await GravitonUtilsPackage().rotateImage(originalImage, 90);

Fetch Current Location #

// Result Will Be Map of type String and dynamic. 
// Contains Keys as latitude, longitude.
dynamic location = await GravitonUtilsPackage().getCurrentLocation();

Native Implementation #

The native functionalities are implemented in Kotlin, ensuring optimal performance on Android devices.

License #

This package is released under the MIT License.

Contributions #

Contributions are welcome! Feel free to create issues or submit pull requests.

Developed by #

Kugelblitz Pvt. Ltd.

4
likes
160
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A package which supports multiple features like fetching location, rotating image.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on graviton_utils_package

Packages that implement graviton_utils_package