BasicButton.secondary constructor

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

Implementation

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