GrxRoundedButton constructor
const
GrxRoundedButton({
- required Color foregroundColor,
- Key? key,
- String? text,
- InlineSpan? textSpan,
- GrxTextTransform transform = GrxTextTransform.none,
- void onPressed()?,
- EdgeInsets? margin,
- MainAxisSize mainAxisSize = MainAxisSize.min,
- Color? backgroundColor,
- IconData? icon,
- GrxAlign iconAlign = GrxAlign.left,
- double iconSize = 20.0,
- Color? iconColor,
- double iconPadding = GrxSpacing.xs,
- bool isLoading = false,
- GrxShape shape = GrxShape.rounded,
- Color? borderColor,
- TextStyle? textStyle,
- bool enabled = true,
- TextStyle? style,
- EdgeInsets padding = const EdgeInsets.symmetric(vertical: 12.0, horizontal: 20.0),
Implementation
const GrxRoundedButton({
required super.foregroundColor,
super.key,
super.text,
super.textSpan,
super.transform,
super.onPressed,
super.margin,
super.mainAxisSize = MainAxisSize.min,
super.backgroundColor,
super.icon,
super.iconAlign,
super.iconSize,
super.iconColor,
super.iconPadding,
super.isLoading,
super.shape,
super.borderColor,
super.textStyle,
super.enabled,
super.style,
super.padding,
});