WrapTextButton constructor

const WrapTextButton(
  1. String title, {
  2. Key? key,
  3. TextStyle? textStyle,
  4. Color backgroundColor = const Color(0xFFF2F3F5),
  5. Color textColor = Colors.black,
  6. Color? borderColor,
  7. double? radius,
  8. double? height,
  9. double? minWidth,
  10. double? maxWidth,
  11. EdgeInsets? padding,
  12. EdgeInsets? margin,
  13. VoidCallback? onTap,
})

Implementation

const WrapTextButton(this.title,
    {Key? key,
    this.textStyle,
    this.backgroundColor = const Color(0xFFF2F3F5),
    this.textColor = Colors.black,
    this.borderColor,
    this.radius,
    this.height,
    this.minWidth,
    this.maxWidth,
    this.padding,
    this.margin,
    this.onTap})
    : super(key: key);