TextCornersButton constructor

const TextCornersButton({
  1. Key? key,
  2. String? text,
  3. Color textColor = Colors.white,
  4. double? fontSize,
  5. bool isBold = true,
  6. double width = double.infinity,
  7. double? height,
  8. EdgeInsetsGeometry margin = const EdgeInsets.only(left: 17, right: 17),
  9. OnTextButtonCall? buttonCall,
  10. List<Color> gradientColors = const [Color(0xffFF4949), Color(0xffFF8123)],
  11. double radius = 100,
})

Implementation

const TextCornersButton(
    {Key? key,
    this.text,
    this.textColor = Colors.white,
    this.fontSize,
    this.isBold = true,
    this.width = double.infinity,
    this.height,
    this.margin = const EdgeInsets.only(left: 17, right: 17),
    this.buttonCall,
    this.gradientColors = const [Color(0xffFF4949), Color(0xffFF8123)],
    this.radius = 100})
    : super(key: key);