SLButton constructor
const
SLButton({
- Key? key,
- required Widget child,
- required ButtonSize size,
- required SLButtonTheme theme,
- required ButtonType type,
- VoidCallback? onPressed,
- bool isEnabled = true,
Implementation
const SLButton({
super.key,
required this.child,
required this.size,
required this.theme,
required this.type,
this.onPressed,
this.isEnabled = true,
});