パッケージ、リポジトリ、アプリカテゴリを検索

mapbox_autocomplete_search_widget のカバー
パッケージ詳細v0.0.6

mapbox_autocomplete_search_widget

MapboxAutocompleteSearchWidget は、場所の名前を自動補完形式で検索できるFlutterパッケージです。

30日間ダウンロード
15
いいね数
5
Pub ポイント
75

パッケージをインストール

flutter pub add mapbox_autocomplete_search_widget

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

MapboxAutocompleteSearchWidget は、リアルタイムの自動補完候補を使用して場所名を検索できるようにするFlutterパッケージです。スムーズな統合を目的としており、MapboxのジオコーディングAPIを活用して正確で応答性の高い場所入力を提供します。住所や場所の選択が必要なアプリに最適であり、入力作業を減らし、誤入力を最小限に抑えることでユーザー体験を向上させます。軽量でカスタマイズ可能で、iOSおよびAndroidの両方のプラットフォームをサポートしています。広範なセットアップなしで、場所に依存する機能を簡単に追加できます。

用途

  • 場所ベースのアプリ検索
  • フォーム内の住所入力
  • 旅行および配達アプリ
  • 位置情報フィルタリング
  • ユーザー プロファイルの場所設定

主な機能

  • リアルタイムの自動補完
  • Mapbox ベースのジオコーディング
  • カスタマイズ可能な UI
  • クロスプラットフォーム対応
  • Flutter との簡単な統合

適している対象

  • 場所を認識するアプリを開発している開発者
  • 住所ピッカーが必要なアプリ
  • 地図インタラクションを備えたモバイルアプリ
  • プロトタイプの位置機能
  • Mapbox サービスを使用するプロジェクト

注意事項

  • Mapbox API キーが必要です
  • Mapbox バックエンドに限定
  • スタイルの調整が必要になる場合があります
  • ネットワーク接続に依存しています
  • オフラインでの利用には適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

mapbox_autocomplete_search_widget

Language: English

mapbox_autocomplete_search_widget

MapboxAutocompleteSearchWidget is a flutter package that allows you to search for place name in a autocomplete fashion.

Technical Notes: The search is carried out only when search text length is greater than 2 and also a delay of 1 second is added before placing a server call. (Since user types continuously, unnessarry calls will be made to server. So we make the call with 1 second delay after user has stopped typing.)

The package uses Riverpod for state management. So Please ensure you import flutter_riverpod and wrap the app with ProviderScope.

import 'package:flutter_riverpod/flutter_riverpod.dart';

  runApp(
    ProviderScope(
      child: MyApp(),
    ),
  );

To use this Package, Please get the Access-Token from here https://docs.mapbox.com/help/glossary/access-token/

The Package has necessarry attributions to Mapbox and can doesnot violate mapbox Terms and Conditions.

How to use it.

the usage is very simple, just use the following

  runApp(
    ProviderScope(
      child: MyApp(),
    ),
  );
  MapboxAutocompleteSearchWidget(
      onPlaceSelected: (BuildContext context, Place place) {
        
      },
      mapboxApiKey: 'mapboxApiKey',
    ),

parameters

parameter description value
onPlaceSelected Completion Handler which returns a BuildContext and selected place from picker (BuildContext context, Place place) {}
mapboxApiKey Your Mapbox ApiKey (Auth-Token) ApiKey Value
appBarColor Color of App Bar widget This is a optional parameter
backButtonColor Color of back arrow button This is a optional parameter
infoButtonColor Color of mapbox info button This is a optional parameter
clearButtonColor Color of clear button in Search widget This is a optional parameter
cursorColor Color of cursor in Search widget This is a optional parameter
searchTextColor Color of Text in Search widget This is a optional parameter
searchBackgroundColor Color of Search area background This is a optional parameter

git repo here

Made with ❤ and dedicated with respect to the Saviour Sonu Sood

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。