SLButton constructor
const
SLButton({
- Key? key,
- required Widget child,
- required SLButtonSize size,
- required SLButtonTheme theme,
- required SLButtonType type,
- required VoidCallback onPressed,
- bool isEnabled = true,
- IconPosition? iconPosition,
- double? gap,
- Widget? iconWidget,
Implementation
const SLButton({
super.key,
required this.child,
required this.size,
required this.theme,
required this.type,
required this.onPressed,
this.isEnabled = true,
this.iconPosition,
this.gap,
this.iconWidget
});