SmallOutlineButton constructor

const SmallOutlineButton({
  1. Key? key,
  2. String? title,
  3. VoidCallback? onTap,
  4. bool isEnable = true,
  5. Color? lineColor,
  6. Color? textColor,
  7. double? radius,
  8. double? width,
  9. double fontSize = 14,
  10. FontWeight fontWeight = FontWeight.w600,
  11. ButtonConfig? themeData,
})

传入属性优先级最高,未传入的走默认配置,更多请看BrnSmallSecondaryOutlineButtonConfig.defaultConfig

Implementation

const SmallOutlineButton({
  Key? key,
  this.title,
  this.onTap,
  this.isEnable = true,
  this.lineColor,
  this.textColor,
  this.radius,
  this.width,
  this.fontSize = 14,
  this.fontWeight = FontWeight.w600,
  this.themeData,
}) : super(key: key);