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

pointer_interceptor のカバー
パッケージ詳細v0.10.1+3

pointer_interceptor

ウェブ上の下位の HtmlElementView によってクリックが飲み込まれるのを防ぐためのウィジェット。

iOSWeb
30日間ダウンロード
2230
いいね数
279
Pub ポイント
160

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

flutter pub add pointer_interceptor

パッケージ概要

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

pointer_interceptor パッケージは、ポインターイベント(クリックなど)がウェブ上の下位の HtmlElementViews によって吸収されないことを保証するウィジェットを提供します。これにより、Flutter ウィジェットが iframe や埋め込み HTML コンテンツなどのウェブ固有コンポーネントの上に配置されている場合でも、入力イベントを受け取ることができます。これは、ネイティブな HTML 要素がジェスチャーを奪ってしまう可能性があるハイブリッド Web アプリケーションで、インタラクティブ機能を維持するのに特に役立ちます。このパッケージは Flutter の Web プラットフォームとのシームレスな統合を目的としており、iOS および Web プラットフォームをサポートしています。

用途

  • iframe 上でのタッチイベントの処理
  • 埋め込みWebコンテンツ上のボタン操作が機能することを確認する
  • Webベースのハイブリッドアプリケーションにおけるジェスチャーの喪失を防ぐ
  • ウェブオーバーレイの使いやすさの向上
  • HTML ビューの上にクリック可能な UI 要素を有効にする

主な機能

  • HtmlElementViews によるイベントの飲み込みを防ぐ
  • イベントインターセプション用のシンプルなウィジェットラッパー
  • Web および iOS 用のクロスプラットフォーム対応
  • 必要な最小構成
  • Flutterのジェスチャー システムの整合性を維持する

適している対象

  • 埋め込みHTMLを使用してWebアプリを構築する開発者
  • Flutter Webプロジェクトでiframeを使用するチーム
  • ウェブ上で正確なポインター制御を必要とするアプリ
  • レイヤードインタラクティブコンポーネントを備えた UI
  • ウェブ上で信頼できるジェスチャー処理が必要なプロジェクト

注意事項

  • WebおよびiOSプラットフォームに限定
  • ウィジェットの重ね合わせに注意が必要な場合があります
  • 非HTMLオーバーレイのシナリオでは不要
  • パフォーマンスへの影響はわずかだが存在する
  • 外部のウェブコンテンツとやり取りする際に最適です

元の README

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

Flutter Packages

Release Status Flutter CI Status

This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages directory to see all packages.

These packages are also available on pub.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled "package".

Contributing

If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.

If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.

Packages

These are the packages hosted in this repository:

Package Pub Points Usage Issues Pull requests
animations pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
camera pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cross_file pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_icons pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
espresso pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
extension_google_sign_in_as_googleapis_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
file_selector pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_lints pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_plugin_android_lifecycle pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg_test pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router_builder pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_adsense pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_fonts pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_maps_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_sign_in pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
image_picker pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
interactive_media_ads pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
in_app_purchase pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
local_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
material_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
metrics_center pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_parsing pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_provider pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pigeon pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pointer_interceptor pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
plugin_platform_interface pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
quick_actions pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_identity_services_web pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
rfw pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
shared_preferences pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
two_dimensional_scrollables pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
url_launcher pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_codec pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_compiler pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
video_player pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
web_benchmarks pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
webview_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
xdg_directories pub package pub points downloads GitHub issues by-label GitHub pull requests by-label

カテゴリー

依存関係

依存関係一覧 3 件

  • pointer_interceptor_ios^0.10.0
  • pointer_interceptor_platform_interface^0.10.0
  • pointer_interceptor_web^0.10.0

ソースリポジトリ

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