SizedButton constructor
const
SizedButton({
- Key? key,
- Widget? child,
- double radius = 10,
- Alignment alignment = Alignment.center,
- Color? borderColor,
- Color? color,
- bool isCircle = false,
- required double width,
- required double height,
- double borderWith = 1,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- EdgeInsetsGeometry innerPadding = EdgeInsets.zero,
- required dynamic onPressed(),
Implementation
const SizedButton(
{super.key,
this.child,
this.radius = 10,
this.alignment = Alignment.center,
this.borderColor,
this.color,
this.isCircle = false,
required this.width,
required this.height,
this.borderWith = 1,
this.padding = EdgeInsets.zero,
this.innerPadding = EdgeInsets.zero,
required this.onPressed});