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