OutlinedButtonWidget constructor

OutlinedButtonWidget({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onTap,
  4. Color? textColor,
  5. Color? borderColor,
  6. double? width,
  7. double? height,
  8. double? borderRadius,
})

Implementation

OutlinedButtonWidget({
  super.key,
  required String text,
  VoidCallback? onTap,
  Color? textColor,
  Color? borderColor,
  double? width,
  double? height,
  double? borderRadius,
}) : super(
  text: text,
  onTap: onTap,
  textColor: textColor ?? ColorResource.buttonColor,
  backgroundColor: Colors.transparent,
  borderColor: borderColor ?? ColorResource.buttonColor,
  showBorder: true,
  width: width,
  height: height,
  borderRadius: borderRadius,
);