RoundedButtonWithIcons constructor
const
RoundedButtonWithIcons(
- IconData icon, {
- Key? key,
- required String text,
- required Function onPressed,
- double? width,
- double? height,
- Color? color,
- Color? borderColor,
- double? borderWidth,
- Color? textColor,
- double iconSize = 24,
- Color? iconColor,
- ValueNotifier<
BoxShadow> ? shadow, - double margin = 0.0,
- double radius = 24,
- bool isDisabled = false,
Creates a RoundedButtonWithIcons widget.
The icon parameter must not be null.
Implementation
const RoundedButtonWithIcons(
this.icon, {
super.key,
required super.text,
required super.onPressed,
super.width,
super.height,
super.color,
super.borderColor,
super.borderWidth,
super.textColor,
this.iconSize = 24,
this.iconColor,
super.shadow,
super.margin,
super.radius,
super.isDisabled = false,
}) : super(iconSize: iconSize, iconColor: iconColor);