BasicButton constructor
const
BasicButton({
- required Widget child,
- required BasicButtonType type,
- Key? key,
- VoidCallback? onPressed,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(6)),
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
- BasicBorder? border,
- Color? backgroundColor,
- Color? foregroundColor,
- bool? enableFeedback,
Implementation
const BasicButton({
required this.child,
required this.type,
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,
});