BasfButton constructor

const BasfButton({
  1. Key? key,
  2. String? text,
  3. IconData? leadingIcon,
  4. IconData? trailingIcon,
  5. double? iconSize,
  6. Widget? child,
  7. VoidCallback? onPressed,
  8. VoidCallback? onLongPress,
  9. ButtonStyle? style,
  10. Size? size,
  11. bool expanded = false,
  12. 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,
});