PipenPrimaryButton constructor
const
PipenPrimaryButton({
- Key? key,
- IconData? icon,
- BorderSide? side,
- String? title,
- dynamic state,
- OutlinedBorder? shape,
- double? height,
- EdgeInsets? padding,
- TextStyle? textStyle,
- Color? textColor,
- VoidCallback? onPressed,
- double? borderRadius,
- IconAlignment? iconAlignment,
- Color? backgroundColor,
- 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;