PipenPrimaryButton constructor

const PipenPrimaryButton({
  1. Key? key,
  2. IconData? icon,
  3. BorderSide? side,
  4. String? title,
  5. dynamic state,
  6. OutlinedBorder? shape,
  7. double? height,
  8. EdgeInsets? padding,
  9. TextStyle? textStyle,
  10. Color? textColor,
  11. VoidCallback? onPressed,
  12. double? borderRadius,
  13. IconAlignment? iconAlignment,
  14. Color? backgroundColor,
  15. bool? maxSize,
})

Implementation

const PipenPrimaryButton({
  super.key,
  this.icon,
  this.side,
  this.title,
  this.state,
  this.shape,
  this.height,
  this.padding,
  this.textStyle,
  this.textColor,
  this.onPressed,
  this.borderRadius,
  this.iconAlignment,
  this.backgroundColor,
  bool? maxSize,
}) : _maxSize = maxSize ?? true;