v0.1.0
animating_location_pin
一個 Flutter 套件,提供可動畫定位圖釘小部件,可在取得裝置位置時使用。
36喜歡 44近 30 天下載40Pub 分數
平台暫無資料
動畫位置標記 Flutter 套件
{"sdk":"flutter"}{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
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,
),