BasicButton constructor
const
BasicButton({
- required Widget child,
- required BasicButtonType type,
- Key? key,
- VoidCallback? onPressed,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(6)),
- BasicBorder? border,
- Color? backgroundColor,
- 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,
});