CodeNestIconBtn constructor

const CodeNestIconBtn({
  1. Key? key,
  2. required Widget icon,
  3. required VoidCallback? onPressed,
  4. Color? backgroundColor,
  5. Color? borderColor,
  6. double borderWidth = 1.0,
  7. BorderStyle borderStyle = BorderStyle.solid,
  8. double strokeAlign = BorderSide.strokeAlignInside,
  9. double size = 48.0,
  10. double borderRadius = 12.0,
  11. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
})

Implementation

const CodeNestIconBtn({
  super.key,
  required this.icon,
  required this.onPressed,
  this.backgroundColor,
  this.borderColor,
  this.borderWidth = 1.0,
  this.borderStyle = BorderStyle.solid,
  this.strokeAlign = BorderSide.strokeAlignInside,
  this.size = 48.0,
  this.borderRadius = 12.0,
  this.padding = const EdgeInsets.all(8.0),
});