v0.1.0
animating_location_pin
A Flutter package providing Animating Location Pin Widget which can be used while fetching device location.
36Likes 4430-day downloads40Pub points
Platforms unavailable
Animating Location Pin Flutter Package
{"sdk":"flutter"}{"sdk":"flutter"}English project snapshot. Visit GitHub for the latest content.
This Flutter package provides a Animating Location Pin Widget which can be used while fetching device location.
PieChartIn the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
animating_location_pin: <latest version>
import 'package:animating_location_pin/animating_location_pin.dart';
Adding this widget is simple. Just directly use its instance for default configuration
Container(
child: AnimatingLocationPin(),
)
AnimatingLocationPin(
pinAsset: 'assets/images/pin.png',
shadowAsset: 'assets/images/shadow.png',
shadowSizeFactor: 0.4,
duration: Duration(milliseconds: 500),
pinJumpHeight: 44.0,
pinSize: 70.0,
),