SLButton constructor

const SLButton({
  1. Key? key,
  2. required Widget child,
  3. required ButtonSize size,
  4. required SLButtonTheme theme,
  5. required ButtonType type,
  6. VoidCallback? onPressed,
  7. 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,
});