BorderButton constructor
const
BorderButton({
- Key? key,
- String? text,
- double? textSize = 16,
- TextStyle textStyle = const TextStyle(),
- FontWeight? textWeight,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- double borderRadius = 0,
- double borderSize = 1,
- bool enabled = true,
- dynamic onClick()?,
- IconData? icon,
- bool expended = false,
- double iconSize = 18,
- EdgeInsetsGeometry? iconPadding,
- BBIconAlignment iconAlignment = BBIconAlignment.end,
- String? textState(
- BBState state
- IconData? iconState(
- BBState state
- Color? colorState(
- BBState state
- Color? borderState(
- BBState state
- Color? splashColor,
Implementation
const BorderButton({
super.key,
this.text,
this.textSize = 16,
this.textStyle = const TextStyle(),
this.textWeight,
this.width,
this.height,
this.margin,
this.padding,
this.borderRadius = 0,
this.borderSize = 1,
this.enabled = true,
this.onClick,
this.icon,
this.expended = false,
this.iconSize = 18,
this.iconPadding,
this.iconAlignment = BBIconAlignment.end,
this.textState,
this.iconState,
this.colorState,
this.borderState,
this.splashColor,
});