BasfButton constructor
const
BasfButton({
- 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 = Alignment.center,
Basf styled buttons button
Implementation
const BasfButton({
super.key,
this.text,
this.leadingIcon,
this.trailingIcon,
this.iconSize,
this.child,
this.onPressed,
this.onLongPress,
this.style,
this.size,
this.expanded = false,
this.alignment = Alignment.center,
});