iconButtonWidget property

Widget get iconButtonWidget

Implementation

Widget get iconButtonWidget => Padding(
      padding: margin ?? EdgeInsets.zero,
      child: SizedBox(
        height: height ?? 0,
        width: width ?? 0,
        child: IconButton(
          padding: EdgeInsets.zero,
          icon: Container(
            padding: padding ?? EdgeInsets.zero,
            decoration: decoration ??
                BoxDecoration(
                  color: appTheme.blueGray700,
                  borderRadius: BorderRadius.circular(25.h),
                ),
            child: child,
          ),
          onPressed: onTap,
        ),
      ),
    );