패키지, 저장소 및 앱 카테고리 검색

pointer_interceptor 표지
패키지 상세v0.10.1+3

pointer_interceptor

웹에서 하위 HtmlElementView에 의해 클릭이 삼켜지는 것을 방지하는 위젯입니다.

iOSWeb
30일 다운로드
2.2천
좋아요
279
Pub 점수
160

패키지 설치

flutter pub add pointer_interceptor

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

pointer_interceptor 패키지는 포인터 이벤트(예: 클릭)가 웹에서 하위 HtmlElementViews에 흡수되지 않도록 보장하는 위젯을 제공합니다. 이는 Flutter 위젯이 iframe이나 임베디드 HTML 콘텐츠와 같은 웹 전용 컴포넌트 위에 위치해 있어도 입력 이벤트를 받을 수 있도록 해줍니다. 특히 네이티브 HTML 요소가 제스처를 가로채는 경우가 많은 하이브리드 웹 애플리케이션에서 상호작용 기능을 유지하는 데 매우 유용합니다. 이 패키지는 Flutter의 웹 플랫폼과 원활하게 통합되도록 설계되었으며 iOS 및 웹 플랫폼을 지원합니다.

사용 사례

  • iframe 위의 터치 이벤트 처리
  • 임베드된 웹 콘텐츠 위에서 버튼 상호작용이 작동하도록 보장하기
  • 웹 기반 하이브리드 앱에서 제스처 손실 방지
  • 웹 오버레이의 사용성 향상
  • HTML 뷰 위에 클릭 가능한 UI 요소 활성화

주요 기능

  • HtmlElementViews에 의해 이벤트가 흡수되는 것을 방지
  • 이벤트 가로채기용 간단한 위젯 래퍼
  • 웹 및 iOS용 크로스 플랫폼 지원
  • 필수 최소 구성
  • Flutter의 제스처 시스템의 무결성을 유지합니다

적합한 대상

  • 임베디드 HTML을 사용하여 웹 앱을 개발하는 개발자
  • Flutter 웹 프로젝트에서 iframe을 사용하는 팀
  • 웹에서 정밀한 포인터 제어가 필요한 앱
  • 계층적 상호작용 컴포넌트를 가진 UI
  • 웹에서 신뢰할 수 있는 제스처 처리가 필요한 프로젝트

고려 사항

  • 웹 및 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

소스 저장소

이 패키지를 사용하는 프로젝트