Skip to content

Add bounce animation to Android overlay (configurable height and duration)#168

Open
Flat-Duck wants to merge 1 commit intoX-SLAYER:mainfrom
Flat-Duck:main
Open

Add bounce animation to Android overlay (configurable height and duration)#168
Flat-Duck wants to merge 1 commit intoX-SLAYER:mainfrom
Flat-Duck:main

Conversation

@Flat-Duck
Copy link

Adds optional up/down “bounce” animation to the Android overlay.
Fully controllable from Dart: enable/disable, height (dp), and duration (ms).
Animation pauses during drag and resumes after release.
usage in dart
await FlutterOverlayWindow.showOverlay(
enableDrag: true,
enableBounce: true,
bounceHeight: 20, // dp
bounceDuration: 1600, // ms per up and down full cycle 800 ms up / 800 ms down
// other existing params...
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant