Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

A 3D pushable button built in Flutter

Pushable Button

A 3D pushable button built in Flutter. Ideal for important CTAs in the app.

Usage

PushableButton(
  child: Text('ENROLL NOW', style: someTextStyle),
  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!'),
)

Configurable Properties

Download 3D Pushable Button source code on GitHub

Exit mobile version