v0.0.4pushable_button
Um botão 3D pressionável. Ideal para chamadas para ação importantes no aplicativo.
50Curtidas 94Downloads em 30 dias155Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Um botão 3D pressionável feito no Flutter. Ideal para chamadas para ação importantes no aplicativo.
{"sdk":"flutter"}{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
A 3D pushable button built in Flutter. Ideal for important CTAs in the app.
PushableButton preview
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!'),
)
Text or Icon)HSLColor is used instead of Color so that the bottom layer is automatically calculated by reducing the luminosity