ButtonProps constructor
const
ButtonProps({
- required String label,
- VoidCallback? onPressed,
- Color? backgroundColor,
- Color? foregroundColor,
- double borderRadius = 8.0,
- EdgeInsetsGeometry? padding,
- bool disabled = false,
Implementation
const ButtonProps({
required this.label,
this.onPressed,
this.backgroundColor,
this.foregroundColor,
this.borderRadius = 8.0,
this.padding,
this.disabled = false,
});