搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫landxcape/animated_marker

animated_marker

AnimatedMarker 小部件是 Dart 類別,可動畫化 Google 地圖上標記的移動。

animated_marker 專案封面
星標
3
分支
3
最近推送(UTC)
2026年7月14日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Animated Marker

AnimatedMarker smoothly animates google_maps_flutter markers whenever their position or rotation changes.

Features

  • Animate marker movement and rotation automatically.
  • Keep non-moving markers separate via staticMarkers.
  • Tune motion with duration, curve, and fps.
  • Plug into any GoogleMap via a simple builder.

Installation

dependencies:
  animated_marker: ^0.2.0

Usage

AnimatedMarker(
  staticMarkers: staticMarkers,
  animatedMarkers: animatedMarkers,
  duration: const Duration(seconds: 3),
  fps: 30,
  curve: Curves.easeOut,
  builder: (context, markers) {
    return GoogleMap(
      initialCameraPosition: const CameraPosition(
        target: LatLng(37.77483, -122.41942),
        zoom: 13,
      ),
      markers: markers,
    );
  },
);

Use this widget when your marker set is driven by live updates (vehicles, delivery tracking, moving assets, etc.) and you want smooth transitions instead of marker jumps.

Purna Kalyan Shakya GitHub avatar
GitHub 作者

Purna Kalyan Shakya ↗

Senior Flutter Engineer • Real-time Systems • Native Integrations • Clean Architecture

@Slash-Plus Kathmandu, Nepal
語言DartC++CMakeRubyCSwiftPythonHTMLJavaShellObjective-CKotlin

分類

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗