shaped_buttons

Last updated:

0 purchases

shaped_buttons Image
shaped_buttons Images
Add to Cart

Description:

shaped buttons

shaped_buttons #
Language: English
Shaped Buttons is a flutter library that allows you to create parallelogram shaped featured buttons.


shaped_buttons

How to use it.
parameters



How to use it. #
the default plain parallelogram
ParallalogramButton(
child: Text(
"Regular Button",
style: TextStyle(color: Colors.black),
),
onPressed: () {
print('Button Pressed');
},
),
copied to clipboard
and you can also define custom properties.
ParallalogramButton(
width: 200,
borderColor: Colors.black,
buttonColor: Colors.yellow[700],
borderWdth: 5,
child: Text(
"Button with border",
style: TextStyle(color: Colors.black),
),
onPressed: () {
print('Button Pressed');
},
),
copied to clipboard
parameters #



parameter
description
default




child
child widget (usually a Text widget)
This is a required parameter


width
width of button
120.0


height
height of button
50.0


margin
Margin around the button
EdgeInsets.only(left: 1, right: 1)


borderWidth
Stroke of border around button
1


borderColor
color of border
color of button


boxShadow
shadow of button
This is an optional parameter


buttonColor
color of button
Colors.blue


onPressed
Void call-back of button
override this for listening the call back when button is pressed


tilt
controls the parallelogram tilt with max = 70 or min = -70
10



more detail

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.