CJBGImageWidget constructor

CJBGImageWidget({
  1. Key? key,
  2. double? height = 44,
  3. required ImageProvider<Object> backgroundImage,
  4. double? cornerRadius = 0,
  5. double? borderWidth = 0,
  6. Color? borderColor,
  7. required Widget child,
  8. 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);