TextCornersButton constructor
const
TextCornersButton({
- Key? key,
- String? text,
- Color textColor = Colors.white,
- double? fontSize,
- bool isBold = true,
- double width = double.infinity,
- double? height,
- EdgeInsetsGeometry margin = const EdgeInsets.only(left: 17, right: 17),
- OnTextButtonCall? buttonCall,
- List<
Color> gradientColors = const [Color(0xffFF4949), Color(0xffFF8123)], - 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);