easter_egg_trigger
2.0.0, released a year ago by an unverified publisher
A widget that triggers an action when a secret gesture or keyboard combination is detected.
$ flutter pub add easter_egg_triggerWhat it does
The package provides a single widget called EasterEggTrigger that listens for a customizable sequence of gestures or keyboard keys. When the exact combination is matched, it calls a provided callback function. By default, it uses the Konami code combination.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to hide secret Easter eggs behind specific gesture combinations.
- You want to trigger debug menus or hidden features using keyboard shortcuts or gestures.
Skip it when
- You need standard navigation or gesture handling for primary app features.
Strengths
- Supports both touch gestures and keyboard keys.
- Comes with a default Konami code configuration out of the box.
- Easy to wrap around any existing widget.
Weaknesses
- Limited to gesture and key combination triggers.
- No documentation provided for advanced configuration beyond the basic examples.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
EasterEggTrigger(
action: () => print("Easter Egg !!!"),
child: Image.network('https://picsum.photos/250?image=9'),
)Alternatives
Packages that do the same job and could replace easter_egg_trigger.
- release_to_trigger
A customizable pull-to-reveal and swipe-to-trigger widget for Flutter.
52Compare - keyboard_dismisser
A Flutter widget to hide the keyboard when performing gestures outside of it.
50Compare - android_gesture_exclusion
Flutter plugin to exclude Android system gesture navigation in specific UI areas.
50Compare - lazy_load_scrollview
A wrapper for scrollable widgets that triggers a callback when reaching the end of the page.
50Compare