Reflex Button
A Flutter package that provides five beautifully animated and customizable button widgets to enhance user interaction.
🚀 Features
BounceReflexButton– Scales down on press for a tactile bounce effectRippleReflexButton– InkWell-style ripple animationLoadingReflexButton– Shows a spinner while an async action completesIconReflexButton– Combines an icon with text for enhanced expressionShadowedReflexButton– Stylish button with shadow and elevation
📦 Installation
Add to your pubspec.yaml:
dependencies:
reflex_button: ^0.0.1
Then run:
flutter pub get
📸 Screenshots
(Coming soon)
🧩 Usage
import 'package:reflex_button/reflex_button.dart';
Example: BounceReflexButton
BounceReflexButton(
onPressed: () {
print("Pressed!");
},
label: 'Bounce Button',
)
Example: LoadingReflexButton
LoadingReflexButton(
onPressed: () async {
await Future.delayed(Duration(seconds: 2));
},
label: 'Submit',
)
More Examples
See the full demo in the example/ directory.
💡 Author
Created by Hasan Surer
📃 License
MIT License