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

GitHub 저장소istornz/flutter_gaimon

flutter_gaimon

사용자 정의 패턴과 함께 햅틱 피드백을 완전히 지원하는 플러터 플러그인 📳

flutter_gaimon 프로젝트 이미지
스타
42
포크
11
최근 푸시(UTC)
2026. 8. 30.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.


🧐 What is it ?

Gaimon is a very simple & easy to use plugin to include Haptic feedback in your app. It support custom pattern with .ahap file support.

👻 Getting started

  • Import the plugin.
import 'package:gaimon/gaimon.dart';
  • Trigger haptic 📳.
Gaimon.selection();
Gaimon.success();
Gaimon.error();
// [...]

Quite simple right ? 😎

📘 Documentation

Name Description Android iOS
.canSupportsHaptic() Check if haptic are supported or not ✅ ✅
.selection() Use it on a tap event ✅ ✅
.error() Use it when an error occur ✅ ✅
.success() Use it when a successful event occur ✅ ✅
.warning() Use it when a warning event occur ✅ ✅
.heavy() Huge feedback ✅ ✅
.medium() Medium feedback ✅ ✅
.light() Light feedback ✅ ✅
.rigid() A huge but speed feedback ✅ ✅
.soft() A medium but speed feedback ✅ ✅
.pattern(String data) Read a custom .ahap file (you can use Captain AHAP to generate file) ✅ ✅

❓ FAQ

  • Why custom pattern is not working on my iPhone?

    Custom vibration patterns is only supported on iPhone 8 and newer devices.

🎯 Roadmap

  • [x] Support pattern for Android (send .ahap file & convert it to waveform).
    • [x] Parse .ahab json contents
    • [x] Convert events in pattern to waveform
    • [x] Send waveform to android native plugin to simulate waveform
    • [x] Add support for parameters (https://developer.apple.com/documentation/corehaptics/representing-haptic-patterns-in-ahap-files)
    • [x] Add support for Parameter curves
    • [ ] Add support for AttackTime
    • [ ] Add support for DecayTime
    • [ ] Add support for Sustained Events
  • [ ] Support audio file to haptic feedback (generate correct feedback for audio file).

👥 Contributions

Contributions are welcome. Contribute by creating a PR or create an issue 🎉.

Dimitri Dessus GitHub avatar
GitHub 작성자

Dimitri Dessus ↗

Mobile and web developer 👨‍💻

언어DartKotlinSwiftRubyObjective-C

분류

사용 중인 의존성

의존성 목록 3 개

  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^6.0.0

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

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

GitHub Docs — About repositories ↗