ripple_button 2.0.1 ripple_button: ^2.0.1 copied to clipboard
A fully customizable button with material ripple effect. Easy to use having some pre-defined button types.
Ripple Button #
A fully customizable button with material ripple effect. Easy to use having some pre-defined button types.
Here is the example screenshot:
RippleButton #
text
Change the text from the button
propType: String
REQUIRED!
onPressed
Expects a function that will be executed on button press.
propType: Function()
REQUIRED!
padding
Adds a padding to the button.
propType: EdgeInsets
style
This will change the style form the Ripple Button Send values to customize the Ripple Button Widget
propType: RippleButtonStyle
type
This are pre-config designs for the ripple button This is optional, if not set the widget will use your design for the button
propType: RippleButtonType
RippleButtonStyle #
color
Expects a RippleButtonColor This will change the color to the ripple button
propType: RippleButtonColor
elevation
This will change the elevation to the ripple button
propType: double
height
This will change the height to the ripple button
propType: double
text
This will change the text style of the text inside the ripple button
propType: TextStyle
border
This will add a border to the ripple button
propType: double
RippleButtonColor #
background
This will change the background color from the button
propType: Color
foreground
This will change the foreground color from the button
propType: Color
shadow
This will change the shadow color from the button
propType: Color
RippleButtonType #
YELLOW:
WHITE_TRANSLUCENT:
BLUE_TRANSLUCENT:
NONE: Custom Design
License #
See LICENSE.md