pushable_button
0.0.4, released 3 years ago by codewithandrea.com
A 3D pushable button widget for Flutter.
WASM-ready
What it does
Provides a single widget that looks like a three‑dimensional button which depresses when pressed. The button’s color, height, elevation and shadow are configurable.
AI-written summary of version 0.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an eye‑catching CTA button with a 3D press effect
- You want a simple, drop‑in widget without extra setup
Skip it when
- You require complex animations or custom button shapes
- You need built‑in loading or disabled states
- You must strictly follow Material design guidelines
Strengths
- Easy to drop in and use
- Customizable HSL color and shadow
- Lightweight with no extra dependencies
Weaknesses
- Only provides a single button style
- No built‑in loading or disabled state
- May not fit all design systems
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
PushableButton(
child: Text('ENROLL NOW'),
height: 60,
elevation: 8,
hslColor: HSLColor.fromAHSL(1.0, 120, 1.0, 0.37),
shadow: BoxShadow(
color: Colors.grey.withOpacity(0.5),
spreadRadius: 5,
blurRadius: 7,
offset: Offset(0, 2),
),
onPressed: () => print('Button Pressed!'),
);Alternatives
Packages that do the same job and could replace pushable_button.
- rounded_loading_button_plus
Animated button with loading, success and error states for Flutter.
50Compare - progress_state_button
A customizable progress button widget with multiple states for Flutter.
50Compare - float_bubble
A floating bubble button inspired by the Tokopedia application.
43Compare