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,
),