OneContainedButton constructor
const
OneContainedButton({
- Key? key,
- double borderRadius = 50.0,
- required dynamic child,
- required VoidCallback onPressed,
- Color? backgroundColor,
- double? height,
- VoidCallback? onLongPress,
- Color? contentColor,
- double? width,
- bool disabled = false,
- 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,
});