OneContainedButton constructor

const OneContainedButton({
  1. Key? key,
  2. double borderRadius = 50.0,
  3. required dynamic child,
  4. required VoidCallback onPressed,
  5. Color? backgroundColor,
  6. double? height,
  7. VoidCallback? onLongPress,
  8. Color? contentColor,
  9. double? width,
  10. bool disabled = false,
  11. bool loading = false,
})

Implementation

const OneContainedButton({
  super.key,
  this.borderRadius = 50.0,
  required this.child,
  required this.onPressed,
  this.backgroundColor,
  this.height,
  this.onLongPress,
  this.contentColor,
  this.width,
  this.disabled = false,
  this.loading = false,
});