https://github.com/apgapg/animating_location_pin
Animating Location Pin Flutter Package
https://github.com/apgapg/animating_location_pin
Last synced: about 1 year ago
JSON representation
Animating Location Pin Flutter Package
- Host: GitHub
- URL: https://github.com/apgapg/animating_location_pin
- Owner: apgapg
- License: mit
- Created: 2019-04-06T08:32:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T06:18:09.000Z (about 6 years ago)
- Last Synced: 2025-04-15T20:15:54.197Z (about 1 year ago)
- Language: Dart
- Homepage: https://pub.dartlang.org/packages/animating_location_pin
- Size: 393 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Animating Location Pin [](https://github.com/apgapg/animating_location_pin) [](https://twitter.com/ayushpgupta)  [](https://play.google.com/store/apps/details?id=com.coddu.flutterprofile)[](https://github.com/apgapg/animating_location_pin)
This Flutter package provides a Animating Location Pin Widget which can be used while fetching device location.

# 💻 Installation
In the `dependencies:` section of your `pubspec.yaml`, add the following line:
[](https://pub.dartlang.org/packages/animating_location_pin)
```yaml
dependencies:
animating_location_pin:
```
# ❔ Usage
### Import this class
```dart
import 'package:animating_location_pin/animating_location_pin.dart';
```
### Add
Adding this widget is simple. Just directly use its instance for default configuration
```dart
Container(
child: AnimatingLocationPin(),
)
```
### Full Implementation
```dart
AnimatingLocationPin(
pinAsset: 'assets/images/pin.png',
shadowAsset: 'assets/images/shadow.png',
shadowSizeFactor: 0.4,
duration: Duration(milliseconds: 500),
pinJumpHeight: 44.0,
pinSize: 70.0,
),
```
### Assets used are
### Note
- Although this animation can be achieved easily with Flare Animation, but this widget involves a good learning to coding such animation manually in flutter
# ⭐ My Flutter Packages
- [pie_chart](https://pub.dartlang.org/packages/pie_chart) [](https://github.com/apgapg/pie_chart) Flutter Pie Chart with cool animation.
- [avatar_glow](https://pub.dartlang.org/packages/avatar_glow) [](https://github.com/apgapg/avatar_glow) Flutter Avatar Glow Widget with glowing animation.
- [search_widget](https://pub.dartlang.org/packages/search_widget) [](https://github.com/apgapg/search_widget) Flutter Search Widget for selecting an option from list.
# ⭐ My Flutter Apps
- [flutter_profile](https://github.com/apgapg/flutter_profile) [](https://github.com/apgapg/flutter_profile) Showcase My Portfolio: Ayush P Gupta on Playstore.
- [flutter_sankalan](https://github.com/apgapg/flutter_sankalan) [](https://github.com/apgapg/flutter_sankalan) Flutter App which allows reading/uploading short stories.
# 👍 Contribution
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -m 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request