CustomTextButton constructor
const
CustomTextButton({})
Implementation
const CustomTextButton({
Key? key,
required this.onPressed,
this.title,
this.height = 52,
this.child,
this.buttonColor = AppColors.activButtonColor,
this.buttonWidth,
this.textFontSize,
this.addBorder = false,
}) : assert(
title == null || child == null,
'Cannot provide both a title and a child\n'
'To provide both, use "child: Text(title)".',
),
super(key: key);