ButtonProps constructor

const ButtonProps({
  1. required String label,
  2. VoidCallback? onPressed,
  3. Color? backgroundColor,
  4. Color? foregroundColor,
  5. double borderRadius = 8.0,
  6. EdgeInsetsGeometry? padding,
  7. bool disabled = false,
})

Implementation

const ButtonProps({
  required this.label,
  this.onPressed,
  this.backgroundColor,
  this.foregroundColor,
  this.borderRadius = 8.0,
  this.padding,
  this.disabled = false,
});