KntButton constructor
const
KntButton({
- Key? key,
- required Widget child,
- bool needFullWidth = false,
- double? height,
- EdgeInsets? padding,
- Widget? leadingIcon,
- Widget? trailingIcon,
- Color? backgroundColor,
- Color? borderColor,
- double? borderWidth,
- BorderRadius? borderRadius,
- VoidCallback? onPressed,
Implementation
const KntButton({
super.key,
required this.child,
this.needFullWidth = false,
this.height,
this.padding,
this.leadingIcon,
this.trailingIcon,
this.backgroundColor,
this.borderColor,
this.borderWidth,
this.borderRadius,
this.onPressed,
});