KRIconButton constructor
const
KRIconButton(- {Key? key,
- required IconData iconData,
- required int color,
- required VoidCallback? onPressed,
- String? text,
- bool isDisabled = false,
- int? textBackgroundColor = KRTheme.DEFAULT_PRIMARY_COLOR,
- bool isOutline = false,
- bool isCirle = true,
- KRButtonSize size = KRButtonSize.large,
- int? backgroundColor}
)
Implementation
const KRIconButton(
{Key? key,
required this.iconData,
required this.color,
required this.onPressed,
this.text,
this.isDisabled = false,
this.textBackgroundColor = KRTheme.DEFAULT_PRIMARY_COLOR,
this.isOutline = false,
this.isCirle = true,
this.size = KRButtonSize.large,
this.backgroundColor})
: super(key: key);