xTransactionTileIcon method

Widget xTransactionTileIcon (
  1. {double size = 30,
  2. Function onTap,
  3. Color color = Colors.red,
  4. Color iconcColor = Colors.white,
  5. double height = 50,
  6. double width = 50}
)

Implementation

Widget xTransactionTileIcon(
    {double size = 30,
    Function onTap,
    Color color = Colors.red,
    Color iconcColor = Colors.white,
    double height = 50,
    double width = 50}) {
  return XContainer(
      onTap: onTap,
      width: width,
      height: height,
      color: color,
      rounded: 10,
      child: Icon(
        this,
        size: size,
        color: iconcColor,
      ).toCenter());
}