CommonButton constructor

const CommonButton({
  1. Key? key,
  2. String? label,
  3. ValueChanged<BuildContext>? onPressed,
  4. double? width,
  5. double? height,
  6. Color? backgroundColor,
})

Implementation

const CommonButton({
  Key? key,
  this.label,
  this.onPressed,
  this.width,
  this.height,
  this.backgroundColor,
}) : super(key: key);