pushable_button 0.0.4 pushable_button: ^0.0.4 copied to clipboard
A 3D pushable button. Ideal for important CTAs in the app.
0.0.4 #
- Update to Dart 3.2.5
0.0.3 #
- Fix small bug on gesture location coordinates
- Add
flutter_lints
dependency
0.0.2 #
Updated GitHub media images.
0.0.1 #
Initial version of the package supporting these properties:
- child: child widget (normally a
Text
orIcon
) - height: height of the top layer
- elevation: elevation or "gap" between the top and bottom layer
- hslColor: color of the top layer.
HSLColor
is used instead ofColor
so that the bottom layer is automatically calculated by reducing the luminosity - shadow: an optional shadow to make the button look better
- onPressed: button callback