EHTextButton constructor

const EHTextButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required Widget child,
  4. ButtonStyle? style,
  5. bool isFullWidth = false,
  6. double? width,
  7. double? height,
  8. EdgeInsetsGeometry? padding,
  9. Color? foregroundColor,
  10. double borderRadius = 16,
  11. TextStyle? textStyle,
})

Implementation

const EHTextButton({
  super.key,
  required this.onPressed,
  required this.child,
  this.style,
  this.isFullWidth = false,
  this.width,
  this.height,
  this.padding,
  this.foregroundColor,
  this.borderRadius = 16,
  this.textStyle,
});