buttonabhishekjbri 0.0.2
buttonabhishekjbri: ^0.0.2 copied to clipboard
A customizable Flutter button widget with rounded corners, gradients, and advanced border options for all your UI needs.
0.0.2 #
Added #
- A highly customizable button widget:
ButtonAbhishekJBRI. - Customizable Dimensions:
- Control the button's
heightandwidth.
- Control the button's
- Border Radius Configuration:
- Use
allBorderfor uniform radius or customize individual corners withtopLeft,topRight,bottomLeft, andbottomRight.
- Use
- Color and Gradient Options:
- Set a solid
buttonColoror apply a gradient background usinggradientColors.
- Set a solid
- Text Styling:
- Customize the button's text appearance with the
styleparameter.
- Customize the button's text appearance with the
- Material Design:
- Uses a transparent
FilledButtonfor modern and consistent design.
- Uses a transparent
- Event Handling:
- Includes an
onPressedcallback for user interactions.
- Includes an
Usage Example #
Here's how to integrate ButtonAbhishekJBRI into your project:
ButtonAbhishekJBRI(
titleButton: 'Click Me',
onPressed: () {
print('Button pressed!');
},
buttonColor: Colors.green,
borderRadiusEdge: 12.0,
height: 60,
width: 200,
style: const TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,
),
);
This version lays the foundation for future enhancements and extensions. Feedback and contributions are welcome!