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