CustomStyledButton constructor
const
CustomStyledButton({
- Key? key,
- required String label,
- required VoidCallback? onPressed,
- ButtonType type = ButtonType.primary,
- ButtonState state = ButtonState.normal,
- ButtonSize size = ButtonSize.medium,
- double? height,
- EdgeInsets? padding,
- double? width,
Implementation
const CustomStyledButton({
Key? key,
required this.label,
required this.onPressed,
this.type = ButtonType.primary,
this.state = ButtonState.normal,
this.size = ButtonSize.medium,
this.height,
this.padding,
this.width,
}) : super(key: key);