AppOutlineButton constructor

const AppOutlineButton({
  1. Key? key,
  2. required Widget text,
  3. double? width,
  4. double? height,
  5. Color? borderColor,
  6. double? borderWidth,
  7. double? borderRadius,
  8. Color? backgroundColor,
  9. Color? disabledColor,
  10. VoidCallback? onTap,
  11. Widget? prefixIcon,
  12. Widget? suffixIcon,
  13. bool isLoading = false,
  14. bool isDisabled = false,
  15. List<BoxShadow>? boxShadow,
  16. TextStyle? textStyle,
})

Creates a new AppOutlineButton.

Implementation

const AppOutlineButton({
  super.key,
  required this.text,
  this.width,
  this.height,
  this.borderColor,
  this.borderWidth,
  this.borderRadius,
  this.backgroundColor,
  this.disabledColor,
  this.onTap,
  this.prefixIcon,
  this.suffixIcon,
  this.isLoading = false,
  this.isDisabled = false,
  this.boxShadow,
  this.textStyle,
});