SizedButton constructor
const
SizedButton({
- Key? key,
- Widget? child,
- double radius = 10,
- Alignment alignment = Alignment.center,
- Color? borderColor,
- Color? color,
- LinearGradient? linearGradient,
- bool isCircle = false,
- List<
BoxShadow> ? boxShadow, - 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.linearGradient,
this.isCircle = false,
this.boxShadow,
required this.width,
required this.height,
this.borderWith = 1,
this.padding = EdgeInsets.zero,
this.innerPadding = EdgeInsets.zero,
required this.onPressed});