widgets/x_button library
Classes
- XButton
- A customizable button widget that supports icons, loading state, custom text widget, rounded style, and various appearance configurations.
Functions
-
styleButtonRounded(
{double radius = 10, Color? background, Color? foreground, Color? borderColor, bool? isEnable = true, double elevation = 1, double paddingHorizontal = 12, double paddingVertical = 5, double borderWidth = 0}) → ButtonStyle - Creates a rounded ButtonStyle used by XButton.