BackIcon constructor
const
BackIcon({
- Key? key,
- VoidCallback? onPressed,
- bool isMaybePop = false,
- Widget icon = const Icon(UIS.androidBack),
- EdgeInsetsGeometry? padding = EdgeInsets.zero,
- Color? color,
Implementation
const BackIcon(
{super.key,
VoidCallback? onPressed,
bool isMaybePop = false,
super.icon = const Icon(UIS.androidBack),
super.padding = EdgeInsets.zero,
super.color})
: super(onPressed: onPressed ?? (isMaybePop ? maybePop : pop));