BackIcon constructor

const BackIcon({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. bool isMaybePop = false,
  4. Widget icon = const Icon(UIS.androidBack),
  5. EdgeInsetsGeometry? padding = EdgeInsets.zero,
  6. 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));