BasfTextButton.hint constructor
BasfTextButton.hint({
- Key? key,
- String? text,
- Widget? child,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ButtonStyle? style,
- Size? size,
- bool expanded = false,
- AlignmentGeometry? alignment,
Implementation
BasfTextButton.hint({
Key? key,
String? text,
Widget? child,
VoidCallback? onPressed,
VoidCallback? onLongPress,
ButtonStyle? style,
Size? size,
bool expanded = false,
AlignmentGeometry? alignment,
}) : super(
key: key,
text: text,
child: child,
onPressed: onPressed,
onLongPress: onLongPress,
style: style == null
? ButtonStyles.hintTextButtonStyle
: style.merge(ButtonStyles.hintTextButtonStyle),
size: size,
expanded: expanded,
alignment: alignment,
);