AutoTextButton constructor
const
AutoTextButton(})
Creates an AutoTextButton
widget.
The text
and onPressed
parameters must not be null.
Implementation
const AutoTextButton(
String text, {
super.key,
required super.onPressed,
super.width,
super.height,
super.color,
super.textColor,
super.shadow,
super.margin,
super.radius,
super.isDisabled = false,
}) : assert(text != ""),
super(text: text);