VentButton.outlined constructor
const
VentButton.outlined({
- Key? key,
- dynamic onTap()?,
- double elevation = 0,
- TextStyle? customTextStyle,
- double? borderRadius,
- Color? shadowColor,
- Color? disabledBackgroundColor,
- Color? textColor,
- required String text,
- double? minimumHeight,
- Color? primaryColor = Colors.white,
- Color? outlinedColor,
- Color? splashColor,
- double? minimumWidth,
- MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap,
- EdgeInsets? padding,
- bool? isDisabled,
- bool? isLoadingButton = false,
Implementation
const VentButton.outlined({
Key? key,
this.onTap,
this.elevation = 0,
this.customTextStyle,
this.borderRadius,
this.shadowColor,
this.disabledBackgroundColor,
this.textColor, // use primary color
required this.text,
this.minimumHeight,
this.primaryColor = Colors.white,
this.outlinedColor, // use primary color
this.splashColor, // use secondary color
this.minimumWidth,
this.tapTargetSize = MaterialTapTargetSize.shrinkWrap,
this.padding,
this.isDisabled,
this.isLoadingButton = false,
}) : buttonEnum = CustomButtonEnum.OUTLINED,
child = null,
useGradient = false,
gradient = null,
gradientColor = null,
super(key: key);