BasicButton constructor

const BasicButton({
  1. required Widget child,
  2. required BasicButtonType type,
  3. Key? key,
  4. VoidCallback? onPressed,
  5. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(6)),
  6. BasicBorder? border,
  7. Color? backgroundColor,
  8. Color? foregroundColor,
})

Implementation

const BasicButton({
  required this.child,
  required this.type,
  super.key,
  this.onPressed,
  this.borderRadius = const BorderRadius.all(Radius.circular(6)),
  this.border,
  this.backgroundColor,
  this.foregroundColor,
});