搜索插件、代码仓与 APP 分类

插件详情v0.1.0

animating_location_pin

一个 Flutter 包,提供可动画定位标记小部件,可在获取设备位置时使用。

近 30 天下载
52
喜欢数
35
Pub 分数
40

安装插件

flutter pub add animating_location_pin

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

animating_location_pin 包提供了一个 Flutter 小部件,以动画图钉的形式直观地显示设备的当前位置。该包旨在通过在地图上展示平滑、动态的图钉移动来提升用户在获取位置时的体验。该小部件轻量且易于集成到基于地理位置的应用程序中,能够实时提供视觉反馈,随着位置的更新而变化。非常适合需要直观位置跟踪的应用程序,例如拼车、导航或配送服务。

适合场景

  • 实时位置跟踪
  • 基于地图的导航应用
  • 拼车应用程序
  • 配送跟踪接口
  • 位置感知仪表板

主要特点

  • 动画位置标记
  • 平滑的针移动
  • 与地图的轻松集成
  • 轻便高效
  • 位置更新期间的视觉反馈

适合对象

  • 开发地图集成应用的开发者
  • 需要实时位置可视化的应用
  • 具有地理位置功能的 Flutter 项目
  • 以用户体验为中心的位置跟踪实现
  • 简单而干净的位置标记动画

使用建议

  • 需要一个地图小部件进行显示
  • 有限的自定义选项
  • 无离线支持
  • 依赖准确的位置数据
  • 不适用于复杂的引脚交互

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Animating Location Pin GitHub stars Twitter Follow GitHub last commit Website shields.ioOpen Source Love

This Flutter package provides a Animating Location Pin Widget which can be used while fetching device location.

PieChart

💻 Installation

In the dependencies: section of your pubspec.yaml, add the following line:

Version

dependencies:
  animating_location_pin: <latest version>

❔ Usage

Import this class
import 'package:animating_location_pin/animating_location_pin.dart';
Add

Adding this widget is simple. Just directly use its instance for default configuration

Container(
  child: AnimatingLocationPin(),
)
Full Implementation
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 GitHub stars Flutter Pie Chart with cool animation.
  • avatar_glow GitHub stars Flutter Avatar Glow Widget with glowing animation.
  • search_widget GitHub stars Flutter Search Widget for selecting an option from list.

⭐ My Flutter Apps

👍 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

所属分类

源码仓库

使用此插件的项目

暂无相关数据。