SkTextButton constructor
const
SkTextButton({
- Key? key,
- required String label,
- Color? textColor,
- required VoidCallback? onTap,
- VoidCallback? onLongPress,
- TextStyle? textStyle,
- bool isUnderlined = false,
- EdgeInsetsGeometry? padding,
- FocusNode? focusNode,
- bool autofocus = false,
- MouseCursor? mouseCursor,
- TextAlign textAlign = TextAlign.center,
Implementation
const SkTextButton({
super.key,
required this.label,
this.textColor,
required this.onTap,
this.onLongPress,
this.textStyle,
this.isUnderlined = false,
this.padding,
this.focusNode,
this.autofocus = false,
this.mouseCursor,
this.textAlign = TextAlign.center,
});