搜尋套件、儲存庫與 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

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。