CodeNestIconBtn constructor
const
CodeNestIconBtn({
- Key? key,
- required Widget icon,
- required VoidCallback? onPressed,
- Color? backgroundColor,
- Color? borderColor,
- double borderWidth = 1.0,
- BorderStyle borderStyle = BorderStyle.solid,
- double strokeAlign = BorderSide.strokeAlignInside,
- double size = 48.0,
- double borderRadius = 12.0,
- 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),
});