SmartButton constructor

const SmartButton({
  1. required Widget child,
  2. required SmartButtonSize size,
  3. required SmartButtonTheme theme,
  4. bool expand = false,
  5. Key? key,
  6. VoidCallback? onPressed,
})

Implementation

const SmartButton({
  required this.child,
  required this.size,
  required this.theme,
  this.expand = false,
  super.key,
  this.onPressed,
});