BorderButton constructor

const BorderButton({
  1. Key? key,
  2. String? text,
  3. double? textSize = 16,
  4. TextStyle textStyle = const TextStyle(),
  5. FontWeight? textWeight,
  6. double? width,
  7. double? height,
  8. EdgeInsetsGeometry? margin,
  9. EdgeInsetsGeometry? padding,
  10. double borderRadius = 0,
  11. double borderSize = 1,
  12. bool enabled = true,
  13. dynamic onClick()?,
  14. IconData? icon,
  15. bool expended = false,
  16. double iconSize = 18,
  17. EdgeInsetsGeometry? iconPadding,
  18. BBIconAlignment iconAlignment = BBIconAlignment.end,
  19. String? textState(
    1. BBState state
    )?,
  20. IconData? iconState(
    1. BBState state
    )?,
  21. Color? colorState(
    1. BBState state
    )?,
  22. Color? borderState(
    1. BBState state
    )?,
  23. 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,
});