CJBGImageWidget constructor
CJBGImageWidget({
- Key? key,
- double? height = 44,
- required ImageProvider<
Object> backgroundImage, - double? cornerRadius = 0,
- double? borderWidth = 0,
- Color? borderColor,
- required Widget child,
- VoidCallback? onPressed,
Implementation
CJBGImageWidget({
Key? key,
this.height = 44,
required this.backgroundImage,
this.cornerRadius = 0,
this.borderWidth = 0,
this.borderColor,
required this.child,
this.onPressed,
}) : super(key: key);