BaseButtonIcon constructor

const BaseButtonIcon({
  1. Key? key,
  2. double size = 18,
  3. required String icon,
  4. double width = 30,
  5. double height = 30,
  6. bool? disabled,
  7. Border? border,
  8. List<BoxShadow>? boxShadow,
  9. Color? background,
  10. BoxConstraints? constraints,
  11. BorderRadius? borderRadius,
  12. bool isPrimary = false,
  13. bool isSolid = false,
  14. VoidCallback? onPressed,
})

Implementation

const BaseButtonIcon({
  super.key,
  this.size = 18,
  required this.icon,
  this.width = 30,
  this.height = 30,
  this.disabled,
  this.border,
  this.boxShadow,
  this.background,
  this.constraints,
  this.borderRadius,
  this.isPrimary = false,
  this.isSolid = false,
  this.onPressed,
});