BasicButton.outlined constructor

const BasicButton.outlined({
  1. required Widget child,
  2. Key? key,
  3. VoidCallback? onPressed,
  4. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(6)),
  5. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  6. BasicBorder? border,
  7. Color? backgroundColor,
  8. Color? foregroundColor,
  9. bool? enableFeedback,
})

Implementation

const BasicButton.outlined({
  required this.child,
  super.key,
  this.onPressed,
  this.borderRadius = const BorderRadius.all(Radius.circular(6)),
  this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  this.border,
  this.backgroundColor,
  this.foregroundColor,
  this.enableFeedback,
}) : type = BasicButtonType.outlined;