ButtonX class
- Inheritance
-
- Available extensions
Constructors
-
ButtonX(String text, {Key? key, ButtonType type = ButtonType.general, double? borderRadius, double? borderWidth, Color? backgroundColor, Color? foregroundColor, EdgeInsetsGeometry? innerPadding, Size? minSize, dynamic onPressed()?, dynamic onLongPress()?, dynamic onHover(bool)?, dynamic onFocusChange(bool)?, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Clip clipBehavior = Clip.none, Widget? child, Color? textColor, double? textSize, FontWeight? textWeight, TextStyle? textStyle, IconData? icon, double? iconSize, bool? dot, String? badge})
-
const
-
ButtonX.back(dynamic onPressed()?, {Key? key})
-
-
ButtonX.icon(IconData? icon, {Key? key, double? borderRadius, double? borderWidth, Color? backgroundColor, Color? foregroundColor, EdgeInsetsGeometry? innerPadding, Size? minSize, dynamic onPressed()?, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Widget? child, double? iconSize, bool? dot, String? badge})
-
const
-
ButtonX.outline(String text, {Key? key, double? borderRadius, double? borderWidth, Color? backgroundColor, Color? foregroundColor, EdgeInsetsGeometry? innerPadding, Size? minSize, dynamic onPressed()?, dynamic onLongPress()?, dynamic onHover(bool)?, dynamic onFocusChange(bool)?, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Clip clipBehavior = Clip.none, Widget? child, Color? textColor, double? textSize, FontWeight? textWeight, TextStyle? textStyle, IconData? icon, double? iconSize, bool? dot, String? badge})
-
const
-
ButtonX.primary(String text, {Key? key, double? borderRadius, double? borderWidth, EdgeInsetsGeometry? innerPadding, Size? minSize, dynamic onPressed()?, dynamic onLongPress()?, dynamic onHover(bool)?, dynamic onFocusChange(bool)?, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Clip clipBehavior = Clip.none, Widget? child, Color? textColor, double? textSize, FontWeight? textWeight, TextStyle? textStyle, IconData? icon, double? iconSize, bool? dot, String? badge})
-
-
ButtonX.secondary(String text, {Key? key, double? borderRadius, double? borderWidth, EdgeInsetsGeometry? innerPadding, Size? minSize, dynamic onPressed()?, dynamic onLongPress()?, dynamic onHover(bool)?, dynamic onFocusChange(bool)?, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Clip clipBehavior = Clip.none, Widget? child, Color? textColor, double? textSize, FontWeight? textWeight, TextStyle? textStyle, IconData? icon, double? iconSize, bool? dot, String? badge})
-
-
ButtonX.text(String text, {Key? key, double? borderRadius, double? borderWidth, Color? backgroundColor, Color? foregroundColor, EdgeInsetsGeometry? innerPadding, Size? minSize, dynamic onPressed()?, dynamic onLongPress()?, dynamic onHover(bool)?, dynamic onFocusChange(bool)?, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Clip clipBehavior = Clip.none, Color? textColor, double? textSize, FontWeight? textWeight, TextStyle? textStyle, IconData? icon, double? iconSize, bool? dot, String? badge})
-
const