BaseTextButton constructor
const
BaseTextButton({
- Key? key,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 4),
- required Widget child,
- BorderRadiusGeometry? borderRadius,
- Border? border,
- Color? color,
- Color? pressedColor,
- Color? disableColor,
- bool autofocus = false,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
Implementation
const BaseTextButton({
super.key,
this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 4),
required this.child,
this.borderRadius,
this.border,
this.color,
this.pressedColor,
this.disableColor,
this.autofocus = false,
this.onPressed,
this.onLongPress,
});